pidgin: bbc2518a: Fixed an inverted g_return_val_if_fail()...

evands at pidgin.im evands at pidgin.im
Sat Aug 16 15:54:16 EDT 2008


-----------------------------------------------------------------
Revision: bbc2518a5d7e36300f61d147b8133431841f6c9f
Ancestor: 4afa45644550a37af63bc3c1be176f9b72aedb75
Author: evands at pidgin.im
Date: 2008-08-16T19:38:45
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/bbc2518a5d7e36300f61d147b8133431841f6c9f

Modified files:
        libpurple/protocols/gg/gg.c

ChangeLog: 

Fixed an inverted g_return_val_if_fail() which caused gadu-gadu to always set an available status with no status message

-------------- next part --------------
============================================================
--- libpurple/protocols/gg/gg.c	3541ee65317e2d346e4e478792f99829dd6d2f26
+++ libpurple/protocols/gg/gg.c	15da503be05fe6b49a46589f40361b9c6f4ffd93
@@ -1834,7 +1834,7 @@ static int ggp_to_gg_status(PurpleStatus
 	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);


More information about the Commits mailing list