# HG changeset patch # User Mark Doliner # Date 1258914138 0 # Node ID 7d0b473f22959c4b1f72b837014c65cde7a7ac9d # Parent 21294012f8cc78b1891432c212d06796fdc4da09 I think errdesc was meant to be used here, not errmsg. errmsg isn't initialized and errdesc is, and errdesc makes the happy little error box show up at the bottom of the buddy list. Fixes a crash when attempting to register for a new account (and failing because my phone number is invalid--maybe I have to be in South Africa?) diff -r 21294012f8cc -r 7d0b473f2295 libpurple/protocols/mxit/protocol.c --- a/libpurple/protocols/mxit/protocol.c Sun Nov 22 13:40:47 2009 +0000 +++ b/libpurple/protocols/mxit/protocol.c Sun Nov 22 18:22:18 2009 +0000 @@ -1944,7 +1944,7 @@ if ( packet->errcode == MXIT_ERRCODE_LOGGEDOUT ) { /* we are not currently logged in, so we need to reconnect */ - purple_connection_error( session->con, _( errmsg ) ); + purple_connection_error( session->con, _( errdesc ) ); } /* packet command */