changeset 26592:d9439f76c118

Initialize file descriptors to -1.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 08 Apr 2009 16:28:17 +0000
parents 28795b39d745
children 89da4ae5e451
files libpurple/protocols/yahoo/yahoo.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo.c	Wed Apr 08 12:35:09 2009 +0000
+++ b/libpurple/protocols/yahoo/yahoo.c	Wed Apr 08 16:28:17 2009 +0000
@@ -2829,6 +2829,7 @@
 	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);