pidgin: 67608c86: Initialize file descriptors to -1.

sadrul at pidgin.im sadrul at pidgin.im
Wed Apr 8 12:30:38 EDT 2009


-----------------------------------------------------------------
Revision: 67608c8618c20fdeaaa1a3ff746077e8ac06bd78
Ancestor: d3339fef344e4e01a21229a086a44397836f4638
Author: sadrul at pidgin.im
Date: 2009-04-08T16:28:17
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/67608c8618c20fdeaaa1a3ff746077e8ac06bd78

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

ChangeLog: 

Initialize file descriptors to -1.

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo.c	7920d2bec63e8f81ab2a4bb540ffd2f5e6d63594
+++ libpurple/protocols/yahoo/yahoo.c	5690d6153c48d82c44aea342aa26040370a12875
@@ -2829,6 +2829,7 @@ void yahoo_send_p2p_pkt(PurpleConnection
 	p2p_data->host_username = g_strdup(who);
 	p2p_data->val_13 = val_13;
 	p2p_data->connection_type = YAHOO_P2P_WE_ARE_SERVER;
+	p2p_data->source = -1;
 
 	purple_network_listen(YAHOO_PAGER_PORT_P2P, SOCK_STREAM, yahoo_p2p_server_listen_cb, p2p_data);
 


More information about the Commits mailing list