Mercurial > pidgin.yaz
changeset 19643:ec7b92cbf49f
Store the socket_type in the PurpleNetworkListenData correctly so that callback functions can use it correctly. Fixes #2933.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Tue, 04 Sep 2007 18:08:14 +0000 |
parents | 077c2df60c38 |
children | 5c92f70f8b0c |
files | libpurple/network.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/network.c Tue Sep 04 08:53:18 2007 +0000 +++ b/libpurple/network.c Tue Sep 04 18:08:14 2007 +0000 @@ -351,6 +351,7 @@ listen_data->retry = TRUE; listen_data->cb = cb; listen_data->cb_data = cb_data; + listen_data->socket_type = socket_type; /* Attempt a NAT-PMP Mapping, which will return immediately */ if (purple_pmp_create_map(((socket_type == SOCK_STREAM) ? PURPLE_PMP_TYPE_TCP : PURPLE_PMP_TYPE_UDP),