]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Windows portability fix: refer to network wrappers in squidclient.
authorFrancesco Chemolli <kinkie@squid-cache.org>
Mon, 30 Jan 2012 16:20:11 +0000 (17:20 +0100)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Mon, 30 Jan 2012 16:20:11 +0000 (17:20 +0100)
tools/squidclient.cc

index 05b5cd93dc145d7c0712376619d104588e1ced9d..5de3a13bbf32150c76b22292e83f9dc55ac99f36 100644 (file)
@@ -827,7 +827,7 @@ static ssize_t
 mywrite(int fd, void *buf, size_t len)
 {
 #if _SQUID_WINDOWS_
-    return send(fd, buf, len, 0);
+    return Squid::send(fd, buf, len, 0);
 #else
     alarm(io_timeout);
     return write(fd, buf, len);