summaryrefslogtreecommitdiffstats
path: root/source/libsmb/clidgram.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/libsmb/clidgram.c')
-rw-r--r--source/libsmb/clidgram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libsmb/clidgram.c b/source/libsmb/clidgram.c
index c21c4263f5a..ded47b7d068 100644
--- a/source/libsmb/clidgram.c
+++ b/source/libsmb/clidgram.c
@@ -122,7 +122,7 @@ int cli_get_response(int dgram_sock, BOOL unique, char *mailslot, char *buf, int
/* Copy the data to buffer, respecting sizes ... */
- memcpy(buf, &dgram->data[92], MIN(bufsiz, (dgram->datasize - 92)));
+ bcopy(&dgram->data[92], buf, MIN(bufsiz, (dgram->datasize - 92)));
}
else