pidgin/pidgin

Fix an error caused by misreading purple_strequal()
release-2.x.y
16 months ago, John Bailey
60fbcaffa69a
Parents 21c032e12ec4
Children 7ab560390e2f
Fix an error caused by misreading purple_strequal()
--- a/libpurple/protocols/jabber/si.c Tue Nov 05 21:16:31 2019 -0500
+++ b/libpurple/protocols/jabber/si.c Tue Nov 05 22:26:27 2019 -0500
@@ -357,7 +357,7 @@
(port = xmlnode_get_attrib(streamhost, "port")) &&
(portnum = atoi(port))))) {
/* ignore 0.0.0.0 */
- if(purple_strequal(host, "0.0.0.0") != 0) {
+ if(purple_strequal(host, "0.0.0.0") == FALSE) {
JabberBytestreamsStreamhost *sh = g_new0(JabberBytestreamsStreamhost, 1);
sh->jid = g_strdup(jid);
sh->host = g_strdup(host);