mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
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: https://origsvn.digium.com/svn/asterisk/trunk@237410 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2155,6 +2155,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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user