Mercurial > pidgin
diff libpurple/protocols/yahoo/yahoo.c @ 26510:d9439f76c118
Initialize file descriptors to -1.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 08 Apr 2009 16:28:17 +0000 |
parents | 38238d41923b |
children | 89da4ae5e451 |
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);