]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Amendment to capability debugs
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 23 May 2008 06:43:54 +0000 (18:43 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 23 May 2008 06:43:54 +0000 (18:43 +1200)
src/tools.cc

index 2a136666cf338ffa039f0f8658816f315a78bc97..d1cb7e4529f381b871c62750b7e33e0bd3028820 100644 (file)
@@ -1373,10 +1373,11 @@ restoreCapabilities(int keep)
 
 #ifdef  _LINUX_CAPABILITY_VERSION_1
     if (head->version != _LINUX_CAPABILITY_VERSION_1) {
+        debugs(50, 1, "Invalid capability version " << head->version << " (expected " << _LINUX_CAPABILITY_VERSION_1 << ")");
 #else
     if (head->version != _LINUX_CAPABILITY_VERSION) {
-#endif
         debugs(50, 1, "Invalid capability version " << head->version << " (expected " << _LINUX_CAPABILITY_VERSION << ")");
+#endif
         goto nocap;
     }