summaryrefslogtreecommitdiff
path: root/source3/libsmb/clidgram.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-02-27 17:28:22 +0000
committerJeremy Allison <jra@samba.org>2002-02-27 17:28:22 +0000
commitc72d16a10504d9b26a616aef9d04b131739c8b90 (patch)
tree92f6740ec2d13fad5f8f79e31bde0b154b1b81ed /source3/libsmb/clidgram.c
parent14c6277840a7b067335122a0ae13ed390e9ab3a6 (diff)
downloadsamba-c72d16a10504d9b26a616aef9d04b131739c8b90.tar.gz
samba-c72d16a10504d9b26a616aef9d04b131739c8b90.tar.bz2
samba-c72d16a10504d9b26a616aef9d04b131739c8b90.zip
Fixed dumb typo caught by Herb.
Jeremy. (This used to be commit f7c980d61439f42395a457a5b99b28f526cabe69)
Diffstat (limited to 'source3/libsmb/clidgram.c')
-rw-r--r--source3/libsmb/clidgram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clidgram.c b/source3/libsmb/clidgram.c
index abade68b01..8f4bdf7be6 100644
--- a/source3/libsmb/clidgram.c
+++ b/source3/libsmb/clidgram.c
@@ -117,7 +117,7 @@ int cli_get_response(int dgram_sock, BOOL unique, char *mailslot, char *buf, int
/* Copy the data to buffer, respecting sizes ... */
- memset(buf, &dgram->data[92], MIN(bufsiz, (dgram->datasize - 92)));
+ memcpy(buf, &dgram->data[92], MIN(bufsiz, (dgram->datasize - 92)));
}
else