[asterisk-commits] tilghman: trunk r237410 - /trunk/main/config.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jan 4 12:42:13 CST 2010
Author: tilghman
Date: Mon Jan 4 12:42:10 2010
New Revision: 237410
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=237410
Log:
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:
trunk/main/config.c
Modified: trunk/main/config.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/config.c?view=diff&rev=237410&r1=237409&r2=237410
==============================================================================
--- trunk/main/config.c (original)
+++ trunk/main/config.c Mon Jan 4 12:42:10 2010
@@ -2155,6 +2155,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