summaryrefslogtreecommitdiff
path: root/ot_http.c
diff options
context:
space:
mode:
Diffstat (limited to 'ot_http.c')
-rw-r--r--ot_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot_http.c b/ot_http.c
index 66899b1..5b96e6f 100644
--- a/ot_http.c
+++ b/ot_http.c
@@ -185,7 +185,7 @@ fprintf(stderr, "http_sendiovecdata sending %d iovec entries found cookie->batch
185 for( i=0; i<iovec_entries; ++i ) { 185 for( i=0; i<iovec_entries; ++i ) {
186 /* If the current batch's limit is reached, try to reallocate a new batch to work on */ 186 /* If the current batch's limit is reached, try to reallocate a new batch to work on */
187 if( current->bytesleft > OT_BATCH_LIMIT ) { 187 if( current->bytesleft > OT_BATCH_LIMIT ) {
188fprintf(stderr, "http_sendiovecdata found batch above limit: %zd\n", current->bytesleft); 188fprintf(stderr, "http_sendiovecdata found batch above limit: %llu\n", current->bytesleft);
189 io_batch * new_batch = realloc( cookie->batch, (cookie->batches + 1) * sizeof(io_batch) ); 189 io_batch * new_batch = realloc( cookie->batch, (cookie->batches + 1) * sizeof(io_batch) );
190 if( new_batch ) { 190 if( new_batch ) {
191 cookie->batch = new_batch; 191 cookie->batch = new_batch;