Mercurial > pidgin.yaz
changeset 26240:e524694e3c06
remove connection timeout if already connected
author | Sulabh Mahajan <sulabh@soc.pidgin.im> |
---|---|
date | Fri, 14 Nov 2008 08:08:59 +0000 |
parents | 969b0e6f3f44 |
children | ffb0d441d0a3 |
files | libpurple/protocols/yahoo/yahoo.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo.c Fri Nov 14 07:07:43 2008 +0000 +++ b/libpurple/protocols/yahoo/yahoo.c Fri Nov 14 08:08:59 2008 +0000 @@ -2597,6 +2597,10 @@ return; } + /* remove timeout */ + purple_timeout_remove(yd->yahoo_p2p_server_timeout_handle); + yd->yahoo_p2p_server_timeout_handle = 0; + /* remove watcher and close p2p server */ purple_input_remove(yd->yahoo_p2p_server_watcher); close(yd->yahoo_local_p2p_server_fd);