]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
tos can be uninitialised if IP_TOS isn't defined. Default its value to 0.
authoradrian <>
Tue, 26 Feb 2002 09:30:50 +0000 (09:30 +0000)
committeradrian <>
Tue, 26 Feb 2002 09:30:50 +0000 (09:30 +0000)
Noticed by: arkadi@it.lv

src/comm.cc

index 2247e5cfeefcc34835652a192d1d9d9591e71245..7c17bd519ad67c90c16aaadbd7a4d7400879c775 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: comm.cc,v 1.325 2001/12/24 15:33:42 adrian Exp $
+ * $Id: comm.cc,v 1.326 2002/02/26 02:30:50 adrian Exp $
  *
  * DEBUG: section 5     Socket Functions
  * AUTHOR: Harvest Derived
@@ -173,7 +173,7 @@ comm_openex(int sock_type,
     const char *note)
 {
     int new_socket;
-    int tos;
+    int tos = 0;
     fde *F = NULL;
 
     /* Create socket for accepting new connections. */