]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
MSVC compatability
authorrobertc <>
Sun, 3 Aug 2003 15:21:29 +0000 (15:21 +0000)
committerrobertc <>
Sun, 3 Aug 2003 15:21:29 +0000 (15:21 +0000)
src/comm.cc

index 0b01bef231dde8b28e5956654a198865e3b08628..453f0bfcbc20d512035203b16c6c13ac78016c0b 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: comm.cc,v 1.384 2003/07/28 09:27:28 robertc Exp $
+ * $Id: comm.cc,v 1.385 2003/08/03 09:21:29 robertc Exp $
  *
  * DEBUG: section 5     Socket Functions
  * AUTHOR: Harvest Derived
@@ -162,14 +162,16 @@ public:
 
     CommWrite write;
 
-    struct
+    class Accept
     {
+
+    public:
         /* how often (in msec) to re-check if we're out of fds on an accept() */
         AcceptFD accept;
         ConnectionDetail connDetails;
-    }
+    };
 
-    accept;
+    Accept accept;
 
     struct CommFiller
     {