summaryrefslogtreecommitdiff
path: root/lib/ZFmtAuth.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ZFmtAuth.c')
-rw-r--r--lib/ZFmtAuth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ZFmtAuth.c b/lib/ZFmtAuth.c
index 89416d0..cdf7be4 100644
--- a/lib/ZFmtAuth.c
+++ b/lib/ZFmtAuth.c
@@ -57,7 +57,7 @@ Code_t ZFormatAuthenticNotice(notice, buffer, buffer_len, len, session)
if (newnotice.z_message_len+hdrlen > buffer_len)
return (ZERR_PKTLEN);
- _BCOPY(newnotice.z_message, ptr, newnotice.z_message_len);
+ (void) memcpy(ptr, newnotice.z_message, newnotice.z_message_len);
*len = hdrlen+newnotice.z_message_len;