From: Brian West Date: Tue, 2 Feb 2010 16:37:55 +0000 (+0000) Subject: its && X-Git-Tag: v1.0.6~558 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5391355af765fceae612101589178ebb9a82c4ec;p=thirdparty%2Ffreeswitch.git its && git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16554 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_odbc.c b/src/switch_odbc.c index 2cdd071b79..badb657255 100644 --- a/src/switch_odbc.c +++ b/src/switch_odbc.c @@ -427,7 +427,7 @@ SWITCH_DECLARE(switch_odbc_status_t) switch_odbc_handle_exec(switch_odbc_handle_ } if (err_str) { - if (!switch_stristr("already exists", err_str) || !switch_stristr("duplicate key name", err_str)) { + if (!switch_stristr("already exists", err_str) && !switch_stristr("duplicate key name", err_str)) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "ERR: [%s]\n[%s]\n", sql, switch_str_nil(err_str)); } if (err) {