innd(8), nnrpd(8) filter return value

Julien ÉLIE julien at trigofacile.com
Sun Aug 2 17:24:23 UTC 2020


Hi Kevin,

> The filter documentations say that
> innd(8) nnrpd(8) accepts an article if filter_art and filter_post function
> returns empty string, rejects an article if otherwise returns nonempty string.
> If filter_art and filter_post written not to return any value(not even empty string),
> how innd(8), nnrpd(8) behaves?

Just tested with no return value for filter_post:  nnrpd behaves as 
though the return value were an empty string ''.

Checked in source code afterwards for both innd and nnrpd.  They 
consider NULL (no return value) as an empty string.


> Accepts or rejects or skips decision and does somthing else?

Accepts.

-- 
Julien ÉLIE

« La grippe, ça dure huit jours si on la soigne et une semaine si on ne
   fait rien. » (Raymond Devos)


More information about the inn-workers mailing list