[reSIProcate] Compilation fix for non-IPv6 Win32 build

Dmitry Semyonov dsemyonov at dins.ru
Fri Sep 9 08:33:34 CDT 2005


Please, apply to contrib/ares/ares_init.c.

Index: ares_init.c
===================================================================
--- ares_init.c	(revision 5381)
+++ ares_init.c	(working copy)
@@ -443,7 +443,9 @@
 		   {
              // printf( "ARES: %s\n", pIPAddr ->IpAddress.String );
 			 
+#ifdef USE_IPV6
 			 channel->servers[ channel->nservers ].family = AF_INET;
+#endif
 	         channel->servers[ channel->nservers ].addr.s_addr = inet_addr(pIPAddr ->IpAddress.String);
 			 channel->nservers++;

-- 
...Bye..Dmitry.



More information about the resiprocate-devel mailing list