[asterisk-commits] tilghman: trunk r237414 - /trunk/main/config.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jan 4 13:03:21 CST 2010


Author: tilghman
Date: Mon Jan  4 13:03:20 2010
New Revision: 237414

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=237414
Log:
Oops, didn't compile (thanks, kpfleming)

Modified:
    trunk/main/config.c

Modified: trunk/main/config.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/config.c?view=diff&rev=237414&r1=237413&r2=237414
==============================================================================
--- trunk/main/config.c (original)
+++ trunk/main/config.c Mon Jan  4 13:03:20 2010
@@ -2156,7 +2156,8 @@
 				res = cur->next;
 			freeme = cur;
 		} else if (cur->value[0] == ' ' && cur->value[1] == '\0') {
-			cur->value[0] = '\0';
+			char *vptr = (char *) cur->value;
+			vptr[0] = '\0';
 			prev = cur;
 		} else {
 			prev = cur;




More information about the asterisk-commits mailing list