changeset 15852:5198bd455160

Fixed connection errors; this logical check on 'text' was reversed.
author Evan Schoenberg <evan.s@dreskin.net>
date Tue, 20 Mar 2007 14:37:16 +0000
parents c02a897a67c7
children c5487dd19e61
files libpurple/connection.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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");
 	}