diff options
author | Gary Kramlich <grim@reaperworld.com> | 2021-06-07 23:00:13 -0500 |
---|---|---|
committer | Gary Kramlich <grim@reaperworld.com> | 2021-06-07 23:00:13 -0500 |
commit | 114ee66ac5c1839deb9c2f0e65e39a13014656a7 (patch) | |
tree | 1dc2559e92c8e60adbf09f0989be660e2f72ac8e | |
parent | d305fa133a46c578320fb25d068e81324c639b83 (diff) | |
download | pidgin-114ee66ac5c1839deb9c2f0e65e39a13014656a7.tar.gz |
Fix a -Wlogical-not-parentheses warning in zephyr
Testing Done:
Compiled using clang with `-Wlogical-not-parentheses` and verified the warning was gone.
Bugs closed: PIDGIN-17528
Reviewed at https://reviews.imfreedom.org/r/731/
-rw-r--r-- | libpurple/protocols/zephyr/zephyr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpurple/protocols/zephyr/zephyr.c b/libpurple/protocols/zephyr/zephyr.c index 55771b5323..00e7688552 100644 --- a/libpurple/protocols/zephyr/zephyr.c +++ b/libpurple/protocols/zephyr/zephyr.c @@ -2192,7 +2192,7 @@ static int zephyr_send_message(zephyr_account *zephyr,char* zclass, char* instan notice.z_message = buf; notice.z_opcode = g_strdup(opcode); purple_debug_info("zephyr","About to send notice\n"); - if (! ZSendNotice(¬ice, ZAUTH) == ZERR_NONE) { + if (ZSendNotice(¬ice, ZAUTH) != ZERR_NONE) { /* XXX handle errors here */ g_free(buf); g_free(html_buf2); |