summaryrefslogtreecommitdiff
path: root/server/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/server.c')
-rw-r--r--server/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/server.c b/server/server.c
index 186fbdf..b034dc2 100644
--- a/server/server.c
+++ b/server/server.c
@@ -688,7 +688,7 @@ kill_clt(notice, server)
#endif
if (extract_addr(notice, &who) != ZERR_NONE)
return ZERR_NONE; /* XXX */
- client = client_which_client(&who.sin_addr, notice);
+ client = client_find(&who.sin_addr, notice->z_port);
if (!client) {
syslog(LOG_NOTICE, "kill_clt: no such client (%s/%d) from %s",
inet_ntoa(who.sin_addr), ntohs(who.sin_port),