make HTML_STATUS configurable

Julien ÉLIE julien at
Sun Jan 23 10:45:04 UTC 2011

Hi Florian,

> there is a compile-time option (a define in innd/status.c) that
> determines whether the status file that innd can write out is plain text
> or wrapped in HTML header / footer. The default is to write an HTML
> status, and as a user of a binary distribution (such as Debian), this
> default is impossible to change.

You're right; it is something that needs being fixed.

> The following patch makes this behaviour configurable from inn.conf,
> defaulting to htmlstatus = true just like before.

Thanks.  Just committed.

While I was at it, I also fixed the syntax of the generated HTML file. 
The refresh time should not end with a semi-colon (refresh="60;" -> 
refresh="60").  I added lang="en" and HTML 5 validation.

Julien ÉLIE

« Il paraît que lorsque l'on prête l'oreille, on entend mieux. C'est
   faux ! Il m'est arrivé de prêter l'oreille à un sourd. Il
   n'entendait pas mieux. » (Raymond Devos)

More information about the inn-workers mailing list