Browse Source

Merge branch 'chunked-transfers' of erdgeist.org:opentracker into chunked-transfers

master
Dirk Engling 7 months ago
parent
commit
f4a389da3f
  1. 2
      ot_stats.c

2
ot_stats.c

@ -501,7 +501,7 @@ static void stats_return_fulllog( int *iovec_entries, struct iovec **iovector, c
char * re = r + OT_STATS_TMPSIZE; char * re = r + OT_STATS_TMPSIZE;
g_logchain_first = g_logchain_last = 0; g_logchain_first = g_logchain_last = 0;
while( loglist ) { while( loglist ) {
if( r + ( loglist->size + 64 ) >= re ) { if( r + ( loglist->size + 64 ) >= re ) {
r = iovec_fix_increase_or_free( iovec_entries, iovector, r, 32 * OT_STATS_TMPSIZE ); r = iovec_fix_increase_or_free( iovec_entries, iovector, r, 32 * OT_STATS_TMPSIZE );

Loading…
Cancel
Save