From 698517ebd8e5c991396a0ab2bda5ba0c70783105 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Thu, 9 Jul 1987 01:48:16 +0000 Subject: dike out some debugging --- server/client.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'server/client.c') 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); } -- cgit v1.2.3