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

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


Author: mnicholson
Date: Thu May 14 12:09:33 2009
New Revision: 907

URL: http://svn.asterisk.org/svn-view/asterisk-addons?view=rev&rev=907
Log:
Handle empty numbers in CMGR messages.

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=907&r1=906&r2=907
==============================================================================
--- trunk/channels/chan_mobile.c (original)
+++ trunk/channels/chan_mobile.c Thu May 14 12:09:33 2009
@@ -2014,7 +2014,7 @@
 				*from_number = &buf[i];
 				state++;
 			}
-			break;
+			/* fall through */
 		case 3: /* search for the end of the number (") */
 			if (buf[i] == '"') {
 				buf[i] = '\0';




More information about the asterisk-addons-commits mailing list