[asterisk-commits] mnicholson: trunk r292124 - in /trunk: ./ addons/chan_mobile.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Oct 18 12:18:59 CDT 2010


Author: mnicholson
Date: Mon Oct 18 12:18:58 2010
New Revision: 292124

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=292124
Log:
Merged revisions 292122 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r292122 | mnicholson | 2010-10-18 12:15:24 -0500 (Mon, 18 Oct 2010) | 5 lines
  
  Fix the cmgr parser.
  
  (closes issue 0018152)
  Reported by: menschentier
........

Modified:
    trunk/   (props changed)
    trunk/addons/chan_mobile.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: trunk/addons/chan_mobile.c
URL: http://svnview.digium.com/svn/asterisk/trunk/addons/chan_mobile.c?view=diff&rev=292124&r1=292123&r2=292124
==============================================================================
--- trunk/addons/chan_mobile.c (original)
+++ trunk/addons/chan_mobile.c Mon Oct 18 12:18:58 2010
@@ -2232,7 +2232,7 @@
 	 */
 	state = 0;
 	s = strlen(buf);
-	for (i = 0; i < s && s != 6; i++) {
+	for (i = 0; i < s && state != 6; i++) {
 		switch (state) {
 		case 0: /* search for start of the number section (,) */
 			if (buf[i] == ',') {




More information about the asterisk-commits mailing list