Revision: 14550
Author: adrian.chadd
Date: Mon Apr  5 21:14:03 2010
Log: Issue #94 - sin*_len doesn't seem to exist on windows either


http://code.google.com/p/lusca-cache/source/detail?r=14550

Modified:
 /branches/LUSCA_HEAD/app/tcptest/tcptest.c

=======================================
--- /branches/LUSCA_HEAD/app/tcptest/tcptest.c  Wed Mar 24 20:34:17 2010
+++ /branches/LUSCA_HEAD/app/tcptest/tcptest.c  Mon Apr  5 21:14:03 2010
@@ -102,7 +102,7 @@

        bzero(&s4.sin_addr, sizeof(s4.sin_addr));
        s4.sin_port = htons(8080);
-#if !defined(_SQUID_LINUX_)
+#if !defined(_SQUID_LINUX_) && !defined(_SQUID_WIN32_)
        s4.sin_len = sizeof(struct sockaddr_in);
 #endif
        sqinet_init(&lcl4);
@@ -111,7 +111,7 @@
        bzero(&s6, sizeof(s6));
        /* ANY_ADDR is all 0's here.. :) */
        s6.sin6_port = htons(8080);
-#if !defined(_SQUID_LINUX_)
+#if !defined(_SQUID_LINUX_) && !defined(_SQUID_WIN32_)
        s6.sin6_len = sizeof(struct sockaddr_in6);
 #endif
        sqinet_init(&lcl6);

--
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en.

Reply via email to