]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3676: librfcnb: Fix Shadowed variables
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 23 Jan 2013 10:38:46 +0000 (03:38 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 23 Jan 2013 10:38:46 +0000 (03:38 -0700)
lib/rfcnb/rfcnb-util.c

index 2051ef22dedce1b1ed07892a54d45d996d4738a7..eb6f29cec3c5c12c4b6e5fc5986d13f54882d753 100644 (file)
@@ -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 */