changeset 15799:fc7e23aea104

Fix reversed NULL check.
author Daniel Atallah <daniel.atallah@gmail.com>
date Sat, 17 Mar 2007 17:41:14 +0000
parents 1dee9065e336
children 76bdff454d6f
files libpurple/connection.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/connection.c	Fri Mar 16 03:43:20 2007 +0000
+++ b/libpurple/connection.c	Sat Mar 17 17:41:14 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");
 	}