From: Ian Jackson Date: Wed, 12 May 2010 23:28:26 +0000 (+0100) Subject: fix immediate auto expire list handling bug X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=inn-innduct.git;a=commitdiff_plain;h=2ecf83f156234a653f00bbec8cac506c3badfd79;ds=sidebyside fix immediate auto expire list handling bug --- diff --git a/backends/innduct.c b/backends/innduct.c index 5caddb5..709dc99 100644 --- a/backends/innduct.c +++ b/backends/innduct.c @@ -2179,12 +2179,15 @@ static void *feedfile_got_article(oop_source *lp, oop_read *rd, art->offset= old_offset; art->blanklen= recsz; strcpy(art->messageid, space+1); - LIST_ADDTAIL(ipf->queue, art); - if (ipf->autodefer >= 0) + if (ipf->autodefer >= 0) { article_autodefer(ipf, art); - else if (ipf==backlog_input_file) - article_check_expired(art); + } else { + LIST_ADDTAIL(ipf->queue, art); + + if (ipf==backlog_input_file) + article_check_expired(art); + } if (sms==sm_NORMAL && ipf==main_input_file && ipf->offset >= target_max_feedfile_size)