changeset 23834:4b920b9ea9ca

Fixed an inverted g_return_val_if_fail() which caused gadu-gadu to always set an available status with no status message
author Evan Schoenberg <evan.s@dreskin.net>
date Sat, 16 Aug 2008 19:38:45 +0000
parents 2a8af2ed4b49
children 55fdb7a28a7a
files libpurple/protocols/gg/gg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/gg/gg.c	Tue Aug 12 23:22:47 2008 +0000
+++ b/libpurple/protocols/gg/gg.c	Sat Aug 16 19:38:45 2008 +0000
@@ -1834,7 +1834,7 @@
 	int new_status, new_status_descr;
 	const char *new_msg;
 
-	g_return_val_if_fail(msg == NULL, 0);
+	g_return_val_if_fail(msg != NULL, 0);
 
 	purple_debug_info("gg", "ggp_to_gg_status: Requested status = %s\n",
 			status_id);