aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-01-04 18:44:16 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-01-04 18:44:16 +0000
commit8699469bc797e249213c42478589c458851a72c1 (patch)
tree2f19b393199f98b31ecec789329cd6ca4dc37a1a /main
parent921618f045d1c97dcf48dc6f29e3fd19ecfa8fff (diff)
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 ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@237413 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/config.c b/main/config.c
index f63346bd5..6efe92461 100644
--- a/main/config.c
+++ b/main/config.c
@@ -2136,6 +2136,9 @@ struct ast_variable *ast_load_realtime(const char *family, ...)
else
res = cur->next;
freeme = cur;
+ } else if (cur->value[0] == ' ' && cur->value[1] == '\0') {
+ cur->value[0] = '\0';
+ prev = cur;
} else {
prev = cur;
}