# HG changeset patch # User Evan Schoenberg # Date 1218915525 0 # Node ID 4b920b9ea9ca4adc28376b3fb36c11f1a9e2b10f # Parent 2a8af2ed4b49098582452bdc5db7d8042bfae99c Fixed an inverted g_return_val_if_fail() which caused gadu-gadu to always set an available status with no status message diff -r 2a8af2ed4b49 -r 4b920b9ea9ca libpurple/protocols/gg/gg.c --- 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);