diff -r 58597c72e6ac -r 7fafdda14844 libpurple/protocols/mxit/actions.c --- 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; }