[EMAIL PROTECTED] wrote:
Author: mturk
     protected long serverSockPool = 0;
- +


I have an editor that removes trailing spaces sorry :).

-        long inetAddress = Address.info(addressStr, Socket.APR_UNSPEC,
+        int family = Socket.APR_INET;
+        if (Library.APR_HAVE_IPV6)
+            family= Socket.APR_UNSPEC;
+        long inetAddress = Address.info(addressStr, family,
                 port, 0, rootPool);

NOTE:

If the APR was build without IPV6 support this call would fail without
this fix. Seems that it doesn't mater on windows.

Mladen.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to