diff options
author | John Kohl <jtkohl@mit.edu> | 1987-07-14 14:20:48 +0000 |
---|---|---|
committer | John Kohl <jtkohl@mit.edu> | 1987-07-14 14:20:48 +0000 |
commit | 04ad627ca7e8103ea9a7cb1b7fe48b460406260a (patch) | |
tree | 1a9634ab034be192f81e17eb45c2db437aa845c5 /server/dispatch.c | |
parent | 65dfa2f94c5599960dbd1f8de9efc84f187eb2fa (diff) |
make pktypes global
lint cleanup
Diffstat (limited to 'server/dispatch.c')
-rw-r--r-- | server/dispatch.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/server/dispatch.c b/server/dispatch.c index d144b52..f27b515 100644 --- a/server/dispatch.c +++ b/server/dispatch.c @@ -51,7 +51,7 @@ long rexmit_secs = REXMIT_SECS; long abs_timo = REXMIT_SECS*NUM_REXMITS + 10; #ifdef DEBUG -static char *pktypes[] = { +char *pktypes[] = { "UNSAFE", "UNACKED", "ACKED", @@ -438,8 +438,7 @@ struct sockaddr_in *who; nacked != nacklist; nacked = nacked->q_forw) if ((nacked->na_client == client)) - if (ZCompareUID((caddr_t) &nacked->na_uid, - (caddr_t) ¬ice->z_uid)) { + if (ZCompareUID(&nacked->na_uid, ¬ice->z_uid)) { timer_reset(nacked->na_timer); xfree(nacked->na_packet); xremque(nacked); |