[svn-commits] trunk - r7852 /trunk/config.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Sat Jan 7 09:18:24 CST 2006


Author: tilghman
Date: Sat Jan  7 09:18:23 2006
New Revision: 7852

URL: http://svn.digium.com/view/asterisk?rev=7852&view=rev
Log:
Bug 6160 - Replace inlined code with ast_skip_blanks

Modified:
    trunk/config.c

Modified: trunk/config.c
URL: http://svn.digium.com/view/asterisk/trunk/config.c?rev=7852&r1=7851&r2=7852&view=diff
==============================================================================
--- trunk/config.c (original)
+++ trunk/config.c Sat Jan  7 09:18:23 2006
@@ -440,9 +440,8 @@
 		while(*c && (*c > 32)) c++;
 		if (*c) {
 			*c = '\0';
-			c++;
 			/* Find real argument */
-			while(*c  && (*c < 33)) c++;
+			c = ast_skip_blanks(c + 1);
 			if (!*c)
 				c = NULL;
 		} else 



More information about the svn-commits mailing list