[asterisk-commits] tilghman: branch 1.6.2 r237413 - in /branches/1.6.2: ./ main/config.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jan 4 12:44:18 CST 2010


Author: tilghman
Date: Mon Jan  4 12:44:16 2010
New Revision: 237413

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

........
  r237410 | tilghman | 2010-01-04 12:42:10 -0600 (Mon, 04 Jan 2010) | 7 lines
  
  Further reduce the encoded blank values back to blank in the realtime API.
  (closes issue #16533)
   Reported by: sergee
   Patches: 
         200100104__issue16533.diff.txt uploaded by tilghman (license 14)
   Tested by: sergee
........

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

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

Modified: branches/1.6.2/main/config.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/main/config.c?view=diff&rev=237413&r1=237412&r2=237413
==============================================================================
--- branches/1.6.2/main/config.c (original)
+++ branches/1.6.2/main/config.c Mon Jan  4 12:44:16 2010
@@ -2136,6 +2136,9 @@
 			else
 				res = cur->next;
 			freeme = cur;
+		} else if (cur->value[0] == ' ' && cur->value[1] == '\0') {
+			cur->value[0] = '\0';
+			prev = cur;
 		} else {
 			prev = cur;
 		}




More information about the asterisk-commits mailing list