From 3eda09d7eb3fcfdfbe5fc436c774c8fbc82a016f Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 27 Dec 2014 16:51:32 +0000 Subject: lib: Fix a comment Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/lib/sys_rw_data.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source3/lib') 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); -- cgit