[Asterisk-code-review] Revert "res_config_odbc: Preserve empty strings returned by the datab... (asterisk[13])
Sean Bright
asteriskteam at digium.com
Mon Apr 6 09:29:15 CDT 2020
Hello Joshua Colp, George Joseph, Friendly Automation, Benjamin Keith Ford,
I'd like you to do a code review. Please visit
https://gerrit.asterisk.org/c/asterisk/+/14123
to review the following change.
Change subject: Revert "res_config_odbc: Preserve empty strings returned by the database"
......................................................................
Revert "res_config_odbc: Preserve empty strings returned by the database"
This reverts commit a3a2fbaec685d931d56f669f2d4171220e9977ac.
Reason for revert: <INSERT REASONING HERE>
Change-Id: I410c395a0168acbdaf89e616e3cb5e1312d190cb
---
M res/res_config_odbc.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/23/14123/1
diff --git a/res/res_config_odbc.c b/res/res_config_odbc.c
index c333383..ab76c31 100644
--- a/res/res_config_odbc.c
+++ b/res/res_config_odbc.c
@@ -305,7 +305,7 @@
} 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);
}
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/14123
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Change-Id: I410c395a0168acbdaf89e616e3cb5e1312d190cb
Gerrit-Change-Number: 14123
Gerrit-PatchSet: 1
Gerrit-Owner: Sean Bright <sean.bright at gmail.com>
Gerrit-Reviewer: Benjamin Keith Ford <bford at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200406/30b4d34c/attachment-0001.html>
More information about the asterisk-code-review
mailing list