Merge "res_config_odbc: Preserve empty strings returned by the database" into 16

This commit is contained in:
Friendly Automation 2020-02-05 09:48:50 -06:00 committed by Gerrit Code Review
commit bb73edad37
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ static struct ast_variable *realtime_odbc(const char *database, const char *tabl
} else {
while (stringp) {
chunk = strsep(&stringp, ";");
if (!ast_strlen_zero(ast_strip(chunk))) {
if (!strcmp(chunk, " ") || !ast_strlen_zero(ast_strip(chunk))) {
if (strchr(chunk, '^')) {
decode_chunk(chunk);
}