diff options
author | Kenneth G Raeburn <raeburn@mit.edu> | 1991-03-26 15:39:20 +0000 |
---|---|---|
committer | Kenneth G Raeburn <raeburn@mit.edu> | 1991-03-26 15:39:20 +0000 |
commit | 3bc8a89a8c4481547efd56072778bde7205433d4 (patch) | |
tree | f4ce82f8082b76cc5951a5346602edbc963fe444 /server/dispatch.c | |
parent | 0401530122c4f392346adb7e17191c2a724f545e (diff) |
also from eichin@watch.com: delete pktypes in favor of ZNoticeKinds
from library.
Diffstat (limited to 'server/dispatch.c')
-rw-r--r-- | server/dispatch.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/server/dispatch.c b/server/dispatch.c index 33dbcc7..db12242 100644 --- a/server/dispatch.c +++ b/server/dispatch.c @@ -61,19 +61,6 @@ long rexmit_secs = REXMIT_SECS; long abs_timo = REXMIT_SECS*NUM_REXMITS + 10; int current_msg; -#ifdef DEBUG -extern const char *pktypes[] = { - "UNSAFE", - "UNACKED", - "ACKED", - "HMACK", - "HMCTL", - "SERVACK", - "SERVNAK", - "CLIENTACK" -}; -#endif - extern const ZString class_control (ZEPHYR_CTL_CLASS, 1); extern const ZString class_admin (ZEPHYR_ADMIN_CLASS, 1); extern const ZString class_hm (HM_CTL_CLASS, 1); @@ -261,7 +248,7 @@ dispatch(ZNotice_t *n, int auth, struct sockaddr_in *who, int from_server) { char buf[BUFSIZ]; (void) sprintf (buf, "disp:%s '%s' '%s' '%s' notice to '%s' from '%s' %s/%d/%d", - pktypes[(int) notice.notice->z_kind], + ZNoticeKinds[(int) notice.notice->z_kind], notice.dest.classname.value (), notice.dest.inst.value (), notice.notice->z_opcode, |