[asterisk-addons-commits] mnicholson: trunk r906 - /trunk/channels/chan_mobile.c

SVN commits to the Asterisk addons project asterisk-addons-commits at lists.digium.com
Thu May 14 12:07:11 CDT 2009


Author: mnicholson
Date: Thu May 14 12:07:07 2009
New Revision: 906

URL: http://svn.asterisk.org/svn-view/asterisk-addons?view=rev&rev=906
Log:
Check the first character of a caller id string to see if it is the end of the
string.

(closes issue #15110)
Reported by: nikkk

Modified:
    trunk/channels/chan_mobile.c

Modified: trunk/channels/chan_mobile.c
URL: http://svn.asterisk.org/svn-view/asterisk-addons/trunk/channels/chan_mobile.c?view=diff&rev=906&r1=905&r2=906
==============================================================================
--- trunk/channels/chan_mobile.c (original)
+++ trunk/channels/chan_mobile.c Thu May 14 12:07:07 2009
@@ -1937,7 +1937,7 @@
 		case 1: /* mark the number */
 			clip = &buf[i];
 			state++;
-			break;
+			/* fall through */
 		case 2: /* search for the end of the number (") */
 			if (buf[i] == '"') {
 				buf[i] = '\0';




More information about the asterisk-addons-commits mailing list