libpurple/protocols/yahoo/libymsg.c

branch
soc.2013.gobjectification
changeset 34999
90850ff4b5eb
parent 34989
348356cbc657
child 35005
bff56dfca65d
--- a/libpurple/protocols/yahoo/libymsg.c	Thu Oct 03 01:33:59 2013 +0530
+++ b/libpurple/protocols/yahoo/libymsg.c	Thu Oct 03 02:08:55 2013 +0530
@@ -4118,7 +4118,7 @@
 	gchar *url;
 	YahooData *yd = purple_connection_get_protocol_data(gc);
 
-	g_return_if_fail(PURPLE_IS_CONNECTION(gc));
+	g_return_if_fail(PURPLE_CONNECTION_IS_VALID(gc));
 
 	if (!purple_http_response_is_successful(response)) {
 		purple_debug_error("yahoo",

mercurial