[asterisk-commits] tilghman: branch 1.6.1 r237416 - in /branches/1.6.1: ./ main/config.c

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


Author: tilghman
Date: Mon Jan  4 13:04:39 2010
New Revision: 237416

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=237416
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.1/   (props changed)
    branches/1.6.1/main/config.c

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

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