Mercurial > pidgin
changeset 31277:69760676c50c
When performing a redirect, need to stop the input-reader before closing
the connection.
author | andrew.victor@mxit.com |
---|---|
date | Fri, 20 Aug 2010 08:34:12 +0000 |
parents | 8cb7b4fe18da |
children | 581a070c3737 |
files | libpurple/protocols/mxit/login.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/mxit/login.c Wed Aug 11 07:36:56 2010 +0000 +++ b/libpurple/protocols/mxit/login.c Fri Aug 20 08:34:12 2010 +0000 @@ -762,6 +762,12 @@ { purple_debug_info( MXIT_PLUGIN_ID, "mxit_reconnect\n" ); + /* remove the input cb function */ + if ( session->con->inpa ) { + purple_input_remove( session->con->inpa ); + session->con->inpa = 0; + } + /* close existing connection */ session->flags &= ~MXIT_FLAG_CONNECTED; purple_proxy_connect_cancel_with_handle( session->con );