Tue, 05 Nov 2019 22:26:27 -0500
Fix an error caused by misreading purple_strequal()
| libpurple/protocols/jabber/si.c | file | annotate | diff | comparison | revisions |
--- 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);