--------------------- PatchSet 5570 Date: 2007/08/31 13:07:48 Author: amosjeffries Branch: squid3-ipv6 Tag: (none) Log: Drop a casting. Members: src/snmp_core.cc:1.10.8.17->1.10.8.18 Index: squid3/src/snmp_core.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/snmp_core.cc,v retrieving revision 1.10.8.17 retrieving revision 1.10.8.18 diff -u -r1.10.8.17 -r1.10.8.18 --- squid3/src/snmp_core.cc 29 Aug 2007 02:07:46 -0000 1.10.8.17 +++ squid3/src/snmp_core.cc 31 Aug 2007 13:07:48 -0000 1.10.8.18 @@ -1,6 +1,6 @@ /* - * $Id: snmp_core.cc,v 1.10.8.17 2007/08/29 02:07:46 amosjeffries Exp $ + * $Id: snmp_core.cc,v 1.10.8.18 2007/08/31 13:07:48 amosjeffries Exp $ * * DEBUG: section 49 SNMP support * AUTHOR: Glenn Chisholm @@ -362,7 +362,7 @@ debugs(49, 5, "snmpConnectionOpen: Called"); - if (Config.Port.snmp > (u_short) 0) { + if (Config.Port.snmp > 0) { Config.Addrs.snmp_incoming.SetPort(Config.Port.snmp); enter_suid(); theInSnmpConnection = comm_open(SOCK_DGRAM,