X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=inn-innduct.git;a=blobdiff_plain;f=backends%2Finnduct.c;h=a1c749196099fd480acaf76c822234139a72d4bd;hp=f7ef3acddbd990896415674212923224a97358c5;hb=4ee24c6c7fea8188f9e838d683a1924e694ecc27;hpb=e579bdbfd0a065fc822a5353b5d89bf289228efb diff --git a/backends/innduct.c b/backends/innduct.c index f7ef3ac..a1c7491 100644 --- a/backends/innduct.c +++ b/backends/innduct.c @@ -1,6 +1,5 @@ /* * todo - * - skipping_long offset calculation is wrong * - reset signals TERM and INT (and HUP) in children * * - manpage: document control master stuff @@ -1921,7 +1920,7 @@ static void *feedfile_got_article(oop_source *lp, oop_read *rd, if (!data) { feedfile_eof(ipf); return OOP_CONTINUE; } off_t old_offset= ipf->offset; - ipf->offset += recsz + 1; + ipf->offset += recsz + !!(ev == OOP_RD_OK); #define X_BAD_DATA(m) return feedfile_got_bad_data(ipf,old_offset,data,m);