From: Amos Jeffries Date: Wed, 23 Jan 2013 10:38:46 +0000 (-0700) Subject: Bug 3676: librfcnb: Fix Shadowed variables X-Git-Tag: SQUID_3_4_0_1~356 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2de16a5a340eda0f67e4c030bb9cdc69a59804a;p=thirdparty%2Fsquid.git Bug 3676: librfcnb: Fix Shadowed variables --- diff --git a/lib/rfcnb/rfcnb-util.c b/lib/rfcnb/rfcnb-util.c index 2051ef22de..eb6f29cec3 100644 --- a/lib/rfcnb/rfcnb-util.c +++ b/lib/rfcnb/rfcnb-util.c @@ -362,10 +362,10 @@ RFCNB_Name_To_IP(char *host, struct in_addr *Dest_IP) /* Disconnect the TCP connection to the server */ int -RFCNB_Close(int socket) +RFCNB_Close(int fd) { - close(socket); + close(fd); /* If we want to do error recovery, here is where we put it */