diff options
author | Jeremy Allison <jra@samba.org> | 2002-02-27 17:28:22 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-02-27 17:28:22 +0000 |
commit | c72d16a10504d9b26a616aef9d04b131739c8b90 (patch) | |
tree | 92f6740ec2d13fad5f8f79e31bde0b154b1b81ed /source3/libsmb | |
parent | 14c6277840a7b067335122a0ae13ed390e9ab3a6 (diff) | |
download | samba-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')
-rw-r--r-- | source3/libsmb/clidgram.c | 2 |
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 |