summaryrefslogtreecommitdiff
path: root/server/server.c
diff options
context:
space:
mode:
authorGravatar Greg Hudson <ghudson@mit.edu>1998-07-16 10:55:05 +0000
committerGravatar Greg Hudson <ghudson@mit.edu>1998-07-16 10:55:05 +0000
commit7b0a769146e55626dcb495b3d31bf9d956c1ada9 (patch)
tree91dc58e5252fd0041986b5f3cf9b9337cc3dc938 /server/server.c
parent4fdf8f9d3fa9fd576e93e41cd9c4c97b6c931a7e (diff)
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.
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),