From 21102bd2b6dba20dcad8df0bf00d9a61029ba731 Mon Sep 17 00:00:00 2001 From: John Bailey Date: Tue, 5 Nov 2019 22:24:18 -0500 Subject: Fix an error caused by misreading purple_strequal() --- libpurple/protocols/jabber/si.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpurple/protocols/jabber/si.c b/libpurple/protocols/jabber/si.c index 2b8278d8d2..50bd82fdaa 100644 --- a/libpurple/protocols/jabber/si.c +++ b/libpurple/protocols/jabber/si.c @@ -372,7 +372,7 @@ void jabber_bytestreams_parse(JabberStream *js, const char *from, (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); -- cgit v1.2.1