pidgin/pidgin

e74e34093dfa
Parents f756870e6bf5
Children 360997c25b1a
Fix an error caused by misreading purple_strequal()
--- a/libpurple/protocols/jabber/si.c Tue Nov 05 21:22:01 2019 -0500
+++ b/libpurple/protocols/jabber/si.c Tue Nov 05 22:24:18 2019 -0500
@@ -372,7 +372,7 @@
(port = purple_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);