diff options
author | John Kohl <jtkohl@mit.edu> | 1987-07-09 01:48:16 +0000 |
---|---|---|
committer | John Kohl <jtkohl@mit.edu> | 1987-07-09 01:48:16 +0000 |
commit | 698517ebd8e5c991396a0ab2bda5ba0c70783105 (patch) | |
tree | a3405ab689fca10903762ab171c5ed824bc11a36 /server | |
parent | d93303a0218394847b29df8700a58dc24681208c (diff) |
dike out some debugging
Diffstat (limited to 'server')
-rw-r--r-- | server/client.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/server/client.c b/server/client.c index 3bbbd5e..03e073c 100644 --- a/server/client.c +++ b/server/client.c @@ -151,17 +151,13 @@ ZNotice_t *notice; register ZHostList_t *hlt; register ZClientList_t *clients; - zdbug((LOG_DEBUG,"which_client entry")); - if (!(hlt = hostm_find_host(&who->sin_addr))) { - zdbug((LOG_DEBUG,"host not found")); + zdbug((LOG_DEBUG,"cl_wh_clt: host not found")); return(NULLZCNT); } - zdbug((LOG_DEBUG,"host %s",inet_ntoa(hlt->zh_addr.sin_addr))); - if (!hlt->zh_clients) { - zdbug((LOG_DEBUG,"no clients")); + zdbug((LOG_DEBUG,"cl_wh_clt: no clients")); return(NULLZCNT); } @@ -169,11 +165,10 @@ ZNotice_t *notice; clients != hlt->zh_clients; clients = clients->q_forw) if (clients->zclt_client->zct_sin.sin_port == notice->z_port) { - zdbug((LOG_DEBUG,"match port %d", ntohs(notice->z_port))); return(clients->zclt_client); } - zdbug((LOG_DEBUG,"no port")); + zdbug((LOG_DEBUG, "cl_wh_clt: no port")); return(NULLZCNT); } |