libpurple/protocols/mxit/actions.c

branch
soc.2013.gobjectification.plugins
changeset 36848
7fafdda14844
parent 36701
5acd461707ae
parent 34989
348356cbc657
child 36856
f3a0cc1fe226
--- a/libpurple/protocols/mxit/actions.c	Tue Oct 01 17:39:32 2013 +0530
+++ b/libpurple/protocols/mxit/actions.c	Wed Oct 02 01:15:44 2013 +0530
@@ -53,7 +53,7 @@
 
 	purple_debug_info( MXIT_PLUGIN_ID, "mxit_profile_cb\n" );
 
-	if ( !PURPLE_CONNECTION_IS_VALID( gc ) ) {
+	if ( !PURPLE_IS_CONNECTION( gc ) ) {
 		purple_debug_error( MXIT_PLUGIN_ID, "Unable to update profile; account offline.\n" );
 		return;
 	}
@@ -330,7 +330,7 @@
 	int						len;
 	int						i;
 
-	if ( !PURPLE_CONNECTION_IS_VALID( gc ) ) {
+	if ( !PURPLE_IS_CONNECTION( gc ) ) {
 		purple_debug_error( MXIT_PLUGIN_ID, "Unable to update PIN; account offline.\n" );
 		return;
 	}

mercurial