From: Martin Mares Date: Wed, 23 May 2007 13:11:01 +0000 (+0200) Subject: Don't forget to increase run counter. X-Git-Tag: holmes-import~506^2~13^2~130 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=8c48090e240d68564c79eb29ac9004cc911bb5d0;p=libucw.git Don't forget to increase run counter. --- diff --git a/lib/sorter/s-fixint.h b/lib/sorter/s-fixint.h index 37d6ef22..06d5322e 100644 --- a/lib/sorter/s-fixint.h +++ b/lib/sorter/s-fixint.h @@ -50,7 +50,9 @@ static int P(internal)(struct sort_context *ctx, struct sort_bucket *bin, struct ctx->total_int_time += get_timer(&timer); SORT_XTRACE(3, "s-fixint: Writing"); - struct fastbuf *out = sbuck_write((n < maxkeys) ? bout_only : bout); + if (n < maxkeys) + bout = bout_only; + struct fastbuf *out = sbuck_write(bout); bout->runs++; uns merged UNUSED = 0; for (uns i=0; i