summaryrefslogtreecommitdiff
path: root/lib/ZFmtNotice.c
diff options
context:
space:
mode:
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);
}