diff options
author | Richard Basch <probe@mit.edu> | 1993-09-24 12:13:49 +0000 |
---|---|---|
committer | Richard Basch <probe@mit.edu> | 1993-09-24 12:13:49 +0000 |
commit | dcc9f89f68a5dd8b2d2b8628fbc915d5eceb777f (patch) | |
tree | 1700df0518529f8e73b24a8eefacd150033f69fe /zhm/queue.c | |
parent | f4ca639858696200ce7fa158398ef4b04f9b96dd (diff) |
Use _BCOPY macro, not bcopy (defined to be memcopy on ANSI systems)
Diffstat (limited to 'zhm/queue.c')
-rw-r--r-- | zhm/queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zhm/queue.c b/zhm/queue.c index 127a4fa..f871fc0 100644 --- a/zhm/queue.c +++ b/zhm/queue.c @@ -70,7 +70,7 @@ int len; entry->timeout = time((time_t *)0) + NOTICE_TIMEOUT; entry->retries = 0; entry->z_packet = (char *)malloc(Z_MAXPKTLEN); - bcopy(packet, entry->z_packet, Z_MAXPKTLEN); + _BCOPY(packet, entry->z_packet, Z_MAXPKTLEN); if (ZParseNotice(entry->z_packet, len, &entry->z_notice) != ZERR_NONE) { syslog(LOG_ERR, "ZParseNotice failed, but succeeded before"); |