summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2024-04-13 19:22:42 +0200
committerDirk Engling <erdgeist@erdgeist.org>2024-04-13 19:22:42 +0200
commitf4a389da3ffa7e7a4bafbe9c73d1319262ec2035 (patch)
treed7ba351dbaa15e6aa6a8e27eaa1231855b1f8f9f
parent0e9cc66de223187ec7e5620d6d41ae60584a72c4 (diff)
parent79f5e272aad5eb591436ffce2562339fc274aa34 (diff)
Merge branch 'chunked-transfers' of erdgeist.org:opentracker into chunked-transfers
-rw-r--r--ot_stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot_stats.c b/ot_stats.c
index 0fd281d..66bed49 100644
--- a/ot_stats.c
+++ b/ot_stats.c
@@ -501,7 +501,7 @@ static void stats_return_fulllog( int *iovec_entries, struct iovec **iovector, c
501 char * re = r + OT_STATS_TMPSIZE; 501 char * re = r + OT_STATS_TMPSIZE;
502 502
503 g_logchain_first = g_logchain_last = 0; 503 g_logchain_first = g_logchain_last = 0;
504 504
505 while( loglist ) { 505 while( loglist ) {
506 if( r + ( loglist->size + 64 ) >= re ) { 506 if( r + ( loglist->size + 64 ) >= re ) {
507 r = iovec_fix_increase_or_free( iovec_entries, iovector, r, 32 * OT_STATS_TMPSIZE ); 507 r = iovec_fix_increase_or_free( iovec_entries, iovector, r, 32 * OT_STATS_TMPSIZE );