git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e43128
)
lib: Fix a comment
author
Volker Lendecke
<vl@samba.org>
Sat, 27 Dec 2014 16:51:32 +0000
(16:51 +0000)
committer
Jeremy Allison
<jra@samba.org>
Mon, 29 Dec 2014 23:25:08 +0000
(
00:25
+0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/sys_rw_data.c
patch
|
blob
|
history
diff --git
a/source3/lib/sys_rw_data.c
b/source3/lib/sys_rw_data.c
index 88e5085ac696743e72885d473094c4333fdec786..71987835b4d15131c0f18b9e969907d774ddc869 100644
(file)
--- 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);