From 7b0a769146e55626dcb495b3d31bf9d956c1ada9 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Thu, 16 Jul 1998 10:55:05 +0000 Subject: Eliminate some cruft: nuke two unused fields in the client structure and rename client_which_client() to client_find() and make the second argument a port instead of a notice. --- server/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/server.c') 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), -- cgit v1.2.3