[Asterisk-cvs] asterisk/apps app_voicemail.c,1.151.2.10,1.151.2.11

russell at lists.digium.com russell at lists.digium.com
Tue Jan 4 11:13:11 CST 2005


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

Modified Files:
      Tag: v1-0
	app_voicemail.c 
Log Message:
I got a crash in iax that I think is related to this timestamp patch, so I am going to back it out until we get it figured out. (bug #3119)


Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.151.2.10
retrieving revision 1.151.2.11
diff -u -d -r1.151.2.10 -r1.151.2.11
--- app_voicemail.c	27 Dec 2004 22:34:25 -0000	1.151.2.10
+++ app_voicemail.c	4 Jan 2005 17:18:15 -0000	1.151.2.11
@@ -3377,7 +3377,7 @@
 				goto out;
 			}
 		}
-		if (prefix) {
+		if (prefix && !ast_strlen_zero(prefixstr)) {
 			char fullusername[80] = "";
 			strncpy(fullusername, prefixstr, sizeof(fullusername) - 1);
 			strncat(fullusername, vms.username, sizeof(fullusername) - 1);




More information about the svn-commits mailing list