From b30839620e5379e357b55c8c5bee61b5a7144b59 Mon Sep 17 00:00:00 2001 From: Richard Basch Date: Fri, 19 Nov 1993 10:25:26 +0000 Subject: Changed bcopy to memcpy [ANSI] --- lib/ZFmtNotice.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/ZFmtNotice.c') 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); } -- cgit v1.2.3