From 2b0141e72ae1795c8234e9dd65234f534388a3b9 Mon Sep 17 00:00:00 2001 From: Richard Basch Date: Fri, 24 Sep 1993 17:16:44 +0000 Subject: Changed bcopy/bzero to _BCOPY/_BZERO macros (in ) --- server/dispatch.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server/dispatch.c') diff --git a/server/dispatch.c b/server/dispatch.c index 1d54947..e1aff4d 100644 --- a/server/dispatch.c +++ b/server/dispatch.c @@ -209,7 +209,7 @@ handle_packet() /* we need to parse twice--once to get the source addr, second to check authentication */ - bzero((caddr_t) &input_sin, + _BZERO((caddr_t) &input_sin, sizeof(input_sin)); input_sin.sin_addr.s_addr = new_notice.z_sender_addr.s_addr; input_sin.sin_port = new_notice.z_port; @@ -491,7 +491,7 @@ xmit_frag(notice, buf, len, waitforack) return(ENOMEM); } - (void) bcopy(buf, savebuf, len); + (void) _BCOPY(buf, savebuf, len); nacked->na_rexmits = 0; nacked->na_packet = savebuf; @@ -935,7 +935,7 @@ control_dispatch(notice, auth, who, server) return(ZERR_NONE); } #ifdef KERBEROS - bcopy((caddr_t) ZGetSession(), /* in case it's changed */ + _BCOPY((caddr_t) ZGetSession(), /* in case it's changed */ (caddr_t) client->zct_cblock, sizeof(C_Block)); #endif /* KERBEROS */ -- cgit v1.2.3