diff options
author | John Kohl <jtkohl@mit.edu> | 1987-12-18 06:42:50 +0000 |
---|---|---|
committer | John Kohl <jtkohl@mit.edu> | 1987-12-18 06:42:50 +0000 |
commit | b903ad6fd4cbf0da46af4604f2b7ff5e96bec68b (patch) | |
tree | 5551f2341896833d6d4a023afdec33946f92b2e3 /server/subscr.c | |
parent | 84201dc9f2b31f38b4e8c609d65fb8ff6df87c6d (diff) |
lint fixes
Diffstat (limited to 'server/subscr.c')
-rw-r--r-- | server/subscr.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/server/subscr.c b/server/subscr.c index 2ec9e51..3f2ef87 100644 --- a/server/subscr.c +++ b/server/subscr.c @@ -38,9 +38,8 @@ static char rcsid_subscr_s_c[] = "$Header$"; * Code_t subscr_cancel_host(addr) * struct in_addr *addr; * - * ZClientList_t *subscr_match_list(notice, acl) + * ZClientList_t *subscr_match_list(notice) * ZNotice_t *notice; - * ZAcl_t *acl; * * void subscr_free_list(list) * ZClientList_t *list; @@ -50,9 +49,9 @@ static char rcsid_subscr_s_c[] = "$Header$"; * int auth; * struct sockaddr_in *who; * - * Code_t subscr_send_subs(client, version) + * Code_t subscr_send_subs(client, vers) * ZClient_t *client; - * char *version; + * char *vers; */ #include "zserver.h" @@ -291,6 +290,8 @@ register ZClient_t *client; return; } +#ifdef notdef +/* not used for the moment */ /* * Cancel all the subscriptions for clients at this addr. */ @@ -312,6 +313,7 @@ struct in_addr *addr; (void) subscr_cancel_client(clt->zclt_client); return(ZERR_NONE); } +#endif notdef /* * Here is the bulk of the work in the subscription manager. @@ -321,9 +323,8 @@ struct in_addr *addr; */ ZClientList_t * -subscr_match_list(notice, acl) +subscr_match_list(notice) ZNotice_t *notice; -ZAcl_t *acl; { register ZClientList_t *hits, *clients, *majik, *clients2, *hit2; register char *cp; @@ -375,7 +376,7 @@ ZAcl_t *acl; for (clients2 = clients->q_forw; clients2 != clients; clients2 = clients2->q_forw) - if (cl_match(notice, clients2->zclt_client, acl)) { + if (cl_match(notice, clients2->zclt_client)) { if (!clt_unique(clients2->zclt_client, hits)) continue; /* we hit */ @@ -692,9 +693,9 @@ struct sockaddr_in *who; /*ARGSUSED*/ Code_t -subscr_send_subs(client, version) +subscr_send_subs(client, vers) ZClient_t *client; -char *version; +char *vers; { register int i = 0; register ZSubscr_t *sub; @@ -790,10 +791,9 @@ ZClientList_t *clist; */ static int -cl_match(notice, client, acl) +cl_match(notice, client) register ZNotice_t *notice; register ZClient_t *client; -ZAcl_t *acl; { register ZSubscr_t *subs; int relation; |