libpurple/protocols/mxit/actions.c

branch
soc.2013.gobjectification
changeset 34999
90850ff4b5eb
parent 34989
348356cbc657
child 35047
cf8ca70094ff
child 36856
f3a0cc1fe226
--- a/libpurple/protocols/mxit/actions.c	Thu Oct 03 01:33:59 2013 +0530
+++ b/libpurple/protocols/mxit/actions.c	Thu Oct 03 02:08:55 2013 +0530
@@ -53,7 +53,7 @@
 
 	purple_debug_info( MXIT_PLUGIN_ID, "mxit_profile_cb\n" );
 
-	if ( !PURPLE_IS_CONNECTION( gc ) ) {
+	if ( !PURPLE_CONNECTION_IS_VALID( 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_IS_CONNECTION( gc ) ) {
+	if ( !PURPLE_CONNECTION_IS_VALID( gc ) ) {
 		purple_debug_error( MXIT_PLUGIN_ID, "Unable to update PIN; account offline.\n" );
 		return;
 	}

mercurial