diff options
Diffstat (limited to 'libpurple/protocols/jabber/bosh.c')
-rw-r--r-- | libpurple/protocols/jabber/bosh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpurple/protocols/jabber/bosh.c b/libpurple/protocols/jabber/bosh.c index 9341f5f6e3..af178c64bc 100644 --- a/libpurple/protocols/jabber/bosh.c +++ b/libpurple/protocols/jabber/bosh.c @@ -432,7 +432,7 @@ static gboolean jabber_bosh_connection_error_check(PurpleBOSHConnection *conn, x type = xmlnode_get_attrib(node, "type"); - if (type != NULL && purple_strequal(type, "terminate")) { + if (purple_strequal(type, "terminate")) { conn->state = BOSH_CONN_OFFLINE; purple_connection_error_reason(conn->js->gc, PURPLE_CONNECTION_ERROR_OTHER_ERROR, |