pidgin: 36d73d5f: Fix build of dnssrv.c on Windows; thanks...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Wed Jul 20 01:11:42 EDT 2011


----------------------------------------------------------------------
Revision: 36d73d5f1d8dda61da348041aef16a1a3bfc2790
Parent:   741a454ff3ad18d4c46587e273ef2f68865fa76c
Author:   darkrain42 at pidgin.im
Date:     07/19/11 16:07:25
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/36d73d5f1d8dda61da348041aef16a1a3bfc2790

Changelog: 

Fix build of dnssrv.c on Windows; thanks to eschman for pointing this out.

Changes against parent 741a454ff3ad18d4c46587e273ef2f68865fa76c

  patched  libpurple/dnssrv.c

-------------- next part --------------
============================================================
--- libpurple/dnssrv.c	622e6f4b3745895c90920065efefab2d3e1d2a35
+++ libpurple/dnssrv.c	71d0075f36f827c8c0735cff03ec9f4bf59af864
@@ -736,8 +736,10 @@ purple_srv_resolve_account(PurpleAccount
 	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 @@ PurpleSrvTxtQueryData *purple_txt_resolv
 	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


More information about the Commits mailing list