]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
fix up fqdncacheUnregister()
authorwessels <>
Tue, 23 Jul 1996 10:11:52 +0000 (10:11 +0000)
committerwessels <>
Tue, 23 Jul 1996 10:11:52 +0000 (10:11 +0000)
src/fqdncache.cc

index ad350c02c9439757ae6ea66b19856a067495696c..218537089459b3e78916843e84cddc69f10ed3a9 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: fqdncache.cc,v 1.1 1996/07/22 16:40:24 wessels Exp $
+ * $Id: fqdncache.cc,v 1.2 1996/07/23 04:11:52 wessels Exp $
  *
  * DEBUG: section 34    FQDN Cache
  * AUTHOR: Harvest Derived
@@ -870,10 +870,11 @@ void fqdncache_init()
 
 /* clean up the pending entries in dnsserver */
 /* return 1 if we found the host, 0 otherwise */
-int fqdncache_unregister(name, fd)
-     char *name;
+int fqdncacheUnregister(addr, fd)
+     struct in_addr addr;
      int fd;
 {
+    char *name = inet_ntoa(addr);
     fqdncache_entry *f = NULL;
     struct _fqdn_pending *p = NULL;
     int n = 0;