summaryrefslogtreecommitdiff
path: root/ot_iovec.c
diff options
context:
space:
mode:
Diffstat (limited to 'ot_iovec.c')
-rw-r--r--ot_iovec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ot_iovec.c b/ot_iovec.c
index 70e017c..8f9c480 100644
--- a/ot_iovec.c
+++ b/ot_iovec.c
@@ -1,6 +1,6 @@
1/* This software was written by Dirk Engling <erdgeist@erdgeist.org> 1/* This software was written by Dirk Engling <erdgeist@erdgeist.org>
2 It is considered beerware. Prost. Skol. Cheers or whatever. 2 It is considered beerware. Prost. Skol. Cheers or whatever.
3 3
4 $id$ */ 4 $id$ */
5 5
6/* System */ 6/* System */
@@ -24,7 +24,7 @@ void *iovec_increase( int *iovec_entries, struct iovec **iovector, size_t new_al
24 if( !new_ptr ) 24 if( !new_ptr )
25 return NULL; 25 return NULL;
26 ((*iovector)[*iovec_entries]).iov_base = new_ptr; 26 ((*iovector)[*iovec_entries]).iov_base = new_ptr;
27 ((*iovector)[*iovec_entries]).iov_len = new_alloc; 27 ((*iovector)[*iovec_entries]).iov_len = new_alloc;
28 ++*iovec_entries; 28 ++*iovec_entries;
29 return new_ptr; 29 return new_ptr;
30} 30}