[reSIProcate] [PATCH] Fix broken IPv6 DNS warning for VS2005
Scott Godin
sgodin at sipspectrum.com
Wed Aug 12 12:26:45 CDT 2009
Thanks Gregor - I'll commit this fix.
On Fri, Aug 7, 2009 at 5:11 AM, Gregor Jasny <jasny at vidsoft.de> 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 at resiprocate.org
> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20090812/1ddc6904/attachment.htm>
More information about the resiprocate-devel
mailing list