summaryrefslogtreecommitdiff
path: root/lib/ZFmtRaw.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/ZFmtRaw.c
parent395a50757804326dc40eb0c276fe615399845e4c (diff)
Changed bcopy to memcpy [ANSI]
Diffstat (limited to 'lib/ZFmtRaw.c')
-rw-r--r--lib/ZFmtRaw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ZFmtRaw.c b/lib/ZFmtRaw.c
index 8d0844f..5d4c0a3 100644
--- a/lib/ZFmtRaw.c
+++ b/lib/ZFmtRaw.c
@@ -37,8 +37,8 @@ Code_t ZFormatRawNotice(notice, buffer, ret_len)
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);
}