diff options
author | Richard Basch <probe@mit.edu> | 1993-11-19 10:11:54 +0000 |
---|---|---|
committer | Richard Basch <probe@mit.edu> | 1993-11-19 10:11:54 +0000 |
commit | a3d62a0c2618b376be5c5d24d7187a8797899068 (patch) | |
tree | 4d495d399e9ab13470ce51690457b97d27c680eb /zhm/queue.c | |
parent | ff9386a15c531c514fd6424d24497250dc18b4e7 (diff) |
Changed bcopy to memcpy [ANSI]
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 f871fc0..621b43b 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); + (void) memcpy(entry->z_packet, packet, Z_MAXPKTLEN); if (ZParseNotice(entry->z_packet, len, &entry->z_notice) != ZERR_NONE) { syslog(LOG_ERR, "ZParseNotice failed, but succeeded before"); |