From: adrian <> Date: Tue, 26 Feb 2002 09:30:50 +0000 (+0000) Subject: tos can be uninitialised if IP_TOS isn't defined. Default its value to 0. X-Git-Tag: SQUID_3_0_PRE1~1172 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9056f553cecdf41c63539af2ddb7c60e5a54f3c7;p=thirdparty%2Fsquid.git tos can be uninitialised if IP_TOS isn't defined. Default its value to 0. Noticed by: arkadi@it.lv --- diff --git a/src/comm.cc b/src/comm.cc index 2247e5cfee..7c17bd519a 100644 --- a/src/comm.cc +++ b/src/comm.cc @@ -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. */