[asterisk-commits] tilghman: branch 1.6.0 r237415 - in /branches/1.6.0: ./ main/config.c

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


Author: tilghman
Date: Mon Jan  4 13:04:31 2010
New Revision: 237415

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=237415
Log:
Merged revisions 237414 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r237414 | tilghman | 2010-01-04 13:03:20 -0600 (Mon, 04 Jan 2010) | 2 lines
  
  Oops, didn't compile (thanks, kpfleming)
........

Modified:
    branches/1.6.0/   (props changed)
    branches/1.6.0/main/config.c

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.0/main/config.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.0/main/config.c?view=diff&rev=237415&r1=237414&r2=237415
==============================================================================
--- branches/1.6.0/main/config.c (original)
+++ branches/1.6.0/main/config.c Mon Jan  4 13:04:31 2010
@@ -2092,7 +2092,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