pidgin/pidgin

Fix a -Wlogical-not-parentheses warning in zephyr
release-2.x.y
2021-06-07, Gary Kramlich
2f616a33f583
Parents d0bc6fbd6c7f
Children 13a246aa0656
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/
--- a/libpurple/protocols/zephyr/zephyr.c Mon Jun 07 22:26:23 2021 -0500
+++ b/libpurple/protocols/zephyr/zephyr.c Mon Jun 07 23:00:13 2021 -0500
@@ -2192,7 +2192,7 @@
notice.z_message = buf;
notice.z_opcode = g_strdup(opcode);
purple_debug_info("zephyr","About to send notice\n");
- if (! ZSendNotice(&notice, ZAUTH) == ZERR_NONE) {
+ if (ZSendNotice(&notice, ZAUTH) != ZERR_NONE) {
/* XXX handle errors here */
g_free(buf);
g_free(html_buf2);