summaryrefslogtreecommitdiffstats
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-12-27 16:51:32 +0000
committerJeremy Allison <jra@samba.org>2014-12-30 00:25:08 +0100
commit3eda09d7eb3fcfdfbe5fc436c774c8fbc82a016f (patch)
tree975168b55213e807e362016e9c18962581e00836 /source3/lib
parent2e431289120681771e4791bdd7aae4397855e187 (diff)
downloadsamba-3eda09d7eb3fcfdfbe5fc436c774c8fbc82a016f.tar.gz
samba-3eda09d7eb3fcfdfbe5fc436c774c8fbc82a016f.tar.xz
samba-3eda09d7eb3fcfdfbe5fc436c774c8fbc82a016f.zip
lib: Fix a comment
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/sys_rw_data.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/lib/sys_rw_data.c b/source3/lib/sys_rw_data.c
index 88e5085ac6..71987835b4 100644
--- a/source3/lib/sys_rw_data.c
+++ b/source3/lib/sys_rw_data.c
@@ -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);