libpurple/protocols/mxit/actions.c

branch
soc.2013.gobjectification
changeset 34989
348356cbc657
parent 34338
c652670afac5
child 34999
90850ff4b5eb
child 36848
7fafdda14844
--- a/libpurple/protocols/mxit/actions.c	Wed Oct 02 00:24:45 2013 +0530
+++ b/libpurple/protocols/mxit/actions.c	Wed Oct 02 00:51:46 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