From: wessels <> Date: Tue, 23 Jul 1996 10:11:52 +0000 (+0000) Subject: fix up fqdncacheUnregister() X-Git-Tag: SQUID_3_0_PRE1~6004 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=03047798ecbe9930aceb93289a59d3a2ab35ea0c;p=thirdparty%2Fsquid.git fix up fqdncacheUnregister() --- diff --git a/src/fqdncache.cc b/src/fqdncache.cc index ad350c02c9..2185370894 100644 --- a/src/fqdncache.cc +++ b/src/fqdncache.cc @@ -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;