ca76526b11
if it exists.
23 lines
764 B
Plaintext
23 lines
764 B
Plaintext
--- libatalk/atp/atp_rresp.c.orig Fri Oct 22 01:43:17 1993
|
|
+++ libatalk/atp/atp_rresp.c Thu Nov 11 14:28:05 1999
|
|
@@ -26,6 +26,7 @@
|
|
#include <sys/time.h>
|
|
#include <sys/errno.h>
|
|
#include <sys/uio.h>
|
|
+#include <string.h>
|
|
|
|
#include <netatalk/at.h>
|
|
#include <atalk/atp.h>
|
|
@@ -78,8 +79,9 @@
|
|
bprint( (char *)ah->atph_resppkt[ i ]->atpbuf_info.atpbuf_data,
|
|
len + ATP_HDRSIZE );
|
|
#endif
|
|
- bcopy( (char *)ah->atph_resppkt[ i ]->atpbuf_info.atpbuf_data
|
|
- + ATP_HDRSIZE, (char *)atpb->atp_rresiov[ i ].iov_base, len );
|
|
+ memcpy( (char *)atpb->atp_rresiov[ i ].iov_base,
|
|
+ (char *)ah->atph_resppkt[ i ]->atpbuf_info.atpbuf_data
|
|
+ + ATP_HDRSIZE, len );
|
|
atpb->atp_rresiov[ i ].iov_len = len;
|
|
free_buf( ah->atph_resppkt[ i ] );
|
|
ah->atph_resppkt[ i ] = NULL;
|