Revert "res_config_odbc: Preserve empty strings returned by the database"

This reverts commit a3a2fbaec6.

Reason for revert: There is a lot of code that relies on the broken
behavior that this fixes.

Change-Id: I410c395a0168acbdaf89e616e3cb5e1312d190cb
This commit is contained in:
Sean Bright 2020-04-06 09:29:13 -05:00 committed by Joshua Colp
parent 7039b764e4
commit bfc9337ab4
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 (!strcmp(chunk, " ") || !ast_strlen_zero(ast_strip(chunk))) {
if (!ast_strlen_zero(ast_strip(chunk))) {
if (strchr(chunk, '^')) {
decode_chunk(chunk);
}