soc.2008.yahoo: 2c1fd963: set fd to -1 initially, if not done, no ...

sulabh at soc.pidgin.im sulabh at soc.pidgin.im
Fri Nov 14 02:10:28 EST 2008


-----------------------------------------------------------------
Revision: 2c1fd96396144b8b26cce3b107009dcccb8dec95
Ancestor: 782ffab65c8cf17234cc352d99e0aa94600829fe
Author: sulabh at soc.pidgin.im
Date: 2008-11-14T07:07:43
Branch: im.pidgin.soc.2008.yahoo
URL: http://d.pidgin.im/viewmtn/revision/info/2c1fd96396144b8b26cce3b107009dcccb8dec95

Modified files:
        libpurple/protocols/yahoo/yahoo.c

ChangeLog: 

set fd to -1 initially, if not done, no p2p connection is initiated ever.

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo.c	60ad355e7cafe82f713c110939ff60aa298f8822
+++ libpurple/protocols/yahoo/yahoo.c	1b85c75715e894f902bdbc821934c3a8476da2ea
@@ -3578,6 +3578,7 @@ static void yahoo_login(PurpleAccount *a
 
 	purple_connection_set_display_name(gc, purple_account_get_username(account));
 
+	yd->yahoo_local_p2p_server_fd = -1;
 	yd->fd = -1;
 	yd->txhandler = 0;
 	/* TODO: Is there a good grow size for the buffer? */


More information about the Commits mailing list