Mercurial > pidgin
changeset 31748:9821c19360b8
Fix build of dnssrv.c on Windows; thanks to eschman for pointing this out.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Tue, 19 Jul 2011 20:07:25 +0000 |
parents | 958621e23f5d |
children | 9526ffc3a9f5 |
files | libpurple/dnssrv.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/dnssrv.c Tue Jul 19 16:56:23 2011 +0000 +++ b/libpurple/dnssrv.c Tue Jul 19 20:07:25 2011 +0000 @@ -736,8 +736,10 @@ query_data->cb.srv = cb; query_data->extradata = extradata; query_data->query = query; +#ifndef _WIN32 query_data->fd_in = -1; query_data->fd_out = -1; +#endif if (purple_srv_txt_query_ui_resolve(query_data)) { @@ -871,8 +873,10 @@ query_data->cb.txt = cb; query_data->extradata = extradata; query_data->query = query; +#ifndef _WIN32 query_data->fd_in = -1; query_data->fd_out = -1; +#endif if (purple_srv_txt_query_ui_resolve(query_data)) { /* query intentionally not freed