# HG changeset patch # User Evan Schoenberg # Date 1174401436 0 # Node ID 5198bd4551607a6d84f412eac701adb5e60a6d7b # Parent c02a897a67c7447406e155d480fd14f65c1eb6f0 Fixed connection errors; this logical check on 'text' was reversed. diff -r c02a897a67c7 -r 5198bd455160 libpurple/connection.c --- a/libpurple/connection.c Sun Mar 18 21:12:40 2007 +0000 +++ b/libpurple/connection.c Tue Mar 20 14:37:16 2007 +0000 @@ -435,7 +435,7 @@ g_return_if_fail(gc != NULL); - if (text != NULL) { + if (text == NULL) { g_critical("gaim_connection_error: check `text != NULL' failed"); text = _("Unknown error"); }