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

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


Author: tilghman
Date: Mon Jan  4 12:43:40 2010
New Revision: 237412

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=237412
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.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=237412&r1=237411&r2=237412
==============================================================================
--- branches/1.6.1/main/config.c (original)
+++ branches/1.6.1/main/config.c Mon Jan  4 12:43:40 2010
@@ -2131,6 +2131,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