diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-01-04 18:43:40 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-01-04 18:43:40 +0000 |
commit | 6af005954cdeb601a7ce8c7e3a8f9a139f5ce1f2 (patch) | |
tree | ac936c6c24a24737a37f81558ceb2a6d500dac65 | |
parent | 70e38f7d694f6b89c6c9050dbeb57699647e0a52 (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.1@237412 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | main/config.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/config.c b/main/config.c index 19d71697b..ed0bc045e 100644 --- a/main/config.c +++ b/main/config.c @@ -2131,6 +2131,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; } |