[svn-commits] mmichelson: branch jrothenberger/asterisk-urgent r106791 - /team/jrothenberge...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Mar 7 13:43:49 CST 2008


Author: mmichelson
Date: Fri Mar  7 13:43:48 2008
New Revision: 106791

URL: http://svn.digium.com/view/asterisk?view=rev&rev=106791
Log:
Change a strncmp to a strcmp


Modified:
    team/jrothenberger/asterisk-urgent/apps/app_voicemail.c

Modified: team/jrothenberger/asterisk-urgent/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/team/jrothenberger/asterisk-urgent/apps/app_voicemail.c?view=diff&rev=106791&r1=106790&r2=106791
==============================================================================
--- team/jrothenberger/asterisk-urgent/apps/app_voicemail.c (original)
+++ team/jrothenberger/asterisk-urgent/apps/app_voicemail.c Fri Mar  7 13:43:48 2008
@@ -4883,7 +4883,7 @@
 	else if (vms->curmsg == vms->lastmsg)
 		res = wait_file2(chan, vms, "vm-last");		/* "last" */
 	/* Play the word urgent if we are listening to urgent messages */
-	if (!ast_strlen_zero(flag) && !strncmp(flag, "URGENT", 6)) {
+	if (!ast_strlen_zero(flag) && !strcmp(flag, "URGENT")) {
 		res = wait_file2(chan, vms, "vm-URGENT");	/* "urgent" */
 	}
 




More information about the svn-commits mailing list