Use of cvtbatch
Julien ÉLIE
julien at trigofacile.com
Tue Nov 3 18:50:12 UTC 2009
Hi Russ,
> cvtbatch is used to generate a batch file for innxmit or some similar
> program if all you have is a list of articles. I think all the relevant
> programs now accept a list of articles and figure out the message ID
> internally anyway, so it's probably obsolete. It's been essentially
> unchanged other than adopting to INN's storage backends and coding
> conventions since INN 1.0.
OK, thanks for the explanation.
>> It takes storage API tokens in entry and can give for each of them the
>> size of the article headers (yes, only the headers) and the message-ID.
>> (The arrival time is new in INN 2.5.2.)
>
> That it gives only the size of the article headers is a bug. The INN 1.0
> version gave the size of the full article. I suspect that the bug was
> introduced when moving to the storage API and no one has noticed, which
> probably answers your question about whether anyone is using it.
:)
Anyway, it is an easy fix: RETR_ALL instead of RETR_HEAD when calling
SMretrieve(). I have just tested and it works fine.
--
Julien ÉLIE
« Haec decies repetita placebit. » (Horace)
More information about the inn-workers
mailing list