mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
Merge "res_config_odbc: Preserve empty strings returned by the database" into 13
This commit is contained in:
@@ -305,7 +305,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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user