[collectd] Re: [PATCH] plugin sensors - small fix reading config, small documentation fix

Florian Forster octo at verplant.org
Fri Nov 24 10:19:07 CET 2006


Hi,

On Tue, Nov 21, 2006 at 06:56:05PM +0100, Lubo?? Stan??k wrote:
> The 'IgnoreSelected' comparison will be repeatedly coded by all
> plugins using 'ignorelist'. Would not it be better to move the
> 'True/Yes/On' decoding to the 'ignorelist' function?

good point, it could be put into a small function in common.[ch]:
  int parse_bool (const char *str, int default);

I'll put that on my todolist.

Regards,
-octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20061124/89858404/attachment.pgp


More information about the collectd mailing list