]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Typo in revno10714
authorAmos Jeffries <amosjeffries@squid-cache.org>
Tue, 10 Aug 2010 03:11:19 +0000 (21:11 -0600)
committerAmos Jeffries <amosjeffries@squid-cache.org>
Tue, 10 Aug 2010 03:11:19 +0000 (21:11 -0600)
src/comm/ListenStateData.cc

index 5dd9d2cd31b73c99333c5690a63d4ae80b0abb2e..838d7ff5f7ed9c3ecae6d1f7b3230bb46f542783 100644 (file)
@@ -71,8 +71,8 @@ Comm::ListenStateData::setListen()
         int seconds = 30;
         if (strncmp(Config.accept_filter, "data=", 5) == 0)
             seconds = atoi(Config.accept_filter + 5);
-        if (setsockopt(fd, IPPROTO_TCP, TCP_DEFER_ACCEPT, &seconds, sizeof(seconds) < 0)
-                debugs(5, DBG_CRITICAL, "TCP_DEFER_ACCEPT '" << Config.accept_filter << "': '" << xstrerror());
+        if (setsockopt(fd, IPPROTO_TCP, TCP_DEFER_ACCEPT, &seconds, sizeof(seconds)) < 0)
+            debugs(5, DBG_CRITICAL, "TCP_DEFER_ACCEPT '" << Config.accept_filter << "': '" << xstrerror());
 #else
         debugs(5, DBG_CRITICAL, "accept_filter not supported on your OS");
 #endif