< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate] [PATCH] Fix broken IPv6 DNS warning for VS2005


Thanks Gregor - I'll commit this fix.

On Fri, Aug 7, 2009 at 5:11 AM, Gregor Jasny <jasny@xxxxxxxxxx> wrote:
Hi,

as WarningLog is itself a preprocessor macro, VS2005 doesn't like the extra ifdef inside of it.

Thanks,
Gregor

Index: rutil/dns/AresDns.cxx
===================================================================
--- rutil/dns/AresDns.cxx       (revision 8543)
+++ rutil/dns/AresDns.cxx       (working copy)
@@ -155,13 +155,11 @@
         }
         else
         {
-           WarningLog (<< "Ignoring non-IPv4 additional name server "
 #if defined(USE_CARES)
-                       "(not yet supported with c-ares)"
+             WarningLog (<< "Ignoring non-IPv4 additional name server (not yet supported with c-ares)");
 #elif defined(USE_ARES)
-                       "(IPv6 support was not enabled)"
+             WarningLog (<< "Ignoring non-IPv4 additional name server (IPv6 support was not enabled)");
 #endif
-                       );
         }
      }
 #endif

_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel