--- 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; }