[Asterisk-cvs] asterisk/apps app_voicemail.c,1.93,1.94

markster at lists.digium.com markster at lists.digium.com
Sun May 23 00:08:15 CDT 2004


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv22351/apps

Modified Files:
	app_voicemail.c 
Log Message:
Fixes to mailbox exists


Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -d -r1.93 -r1.94
--- app_voicemail.c	21 May 2004 00:55:36 -0000	1.93
+++ app_voicemail.c	23 May 2004 04:21:42 -0000	1.94
@@ -3440,7 +3440,11 @@
 		box = context;
 		context = "default";
 	}
-
+	while(*box) {
+		if ((*box != 'u') && (*box != 's') && (*box != 'b'))
+			break;
+		box++;
+	}
 	ast_mutex_lock(&vmlock);
 	user = users;
 	while (user) {
@@ -3448,6 +3452,7 @@
 			branch = 1;
 			break;
 		}
+		user = user->next;
 	}
 	ast_mutex_unlock(&vmlock);
 




More information about the svn-commits mailing list