Mercurial > pidgin
changeset 28609:7d0b473f2295
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?)
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 22 Nov 2009 18:22:18 +0000 |
parents | 21294012f8cc |
children | 97900b3b55ca |
files | libpurple/protocols/mxit/protocol.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 */