1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

lib: Fix a comment

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2014-12-27 16:51:32 +00:00 committed by Jeremy Allison
parent 2e43128912
commit 3eda09d7eb

View File

@ -54,9 +54,7 @@ ssize_t write_data_iov(int fd, const struct iovec *orig_iov, int iovcnt)
/*
* We could not send everything in one call. Make a copy of iov that
* we can mess with. We keep a copy of the array start in iov_copy for
* the TALLOC_FREE, because we're going to modify iov later on,
* discarding elements.
* we can mess with.
*/
memcpy(iov_copy, orig_iov, sizeof(struct iovec) * iovcnt);