summaryrefslogtreecommitdiff
path: root/lib/ZFmtNotice.c
diff options
context:
space:
mode:
authorGravatar Richard Basch <probe@mit.edu>1993-11-19 10:25:26 +0000
committerGravatar Richard Basch <probe@mit.edu>1993-11-19 10:25:26 +0000
commitb30839620e5379e357b55c8c5bee61b5a7144b59 (patch)
tree7fddf6e8f2572795c3ba7ba1ece217542c918b23 /lib/ZFmtNotice.c
parent395a50757804326dc40eb0c276fe615399845e4c (diff)
Changed bcopy to memcpy [ANSI]
Diffstat (limited to 'lib/ZFmtNotice.c')
-rw-r--r--lib/ZFmtNotice.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ZFmtNotice.c b/lib/ZFmtNotice.c
index 7192b97..96147f8 100644
--- a/lib/ZFmtNotice.c
+++ b/lib/ZFmtNotice.c
@@ -38,8 +38,8 @@ Code_t ZFormatNotice(notice, buffer, ret_len, cert_routine)
if (!(*buffer = (char *) malloc((unsigned)*ret_len)))
return (ENOMEM);
- _BCOPY(header, *buffer, hdrlen);
- _BCOPY(notice->z_message, *buffer+hdrlen, notice->z_message_len);
+ (void) memcpy(*buffer, header, hdrlen);
+ (void) memcpy(*buffer+hdrlen, notice->z_message, notice->z_message_len);
return (ZERR_NONE);
}