[collectd] patch to distinguish between malloc failure and duplicate key in avl_insert

Luke Heberling collectd at c-ware.com
Thu Dec 13 04:22:00 CET 2007

I'd like to be able to tell when avl_insert fails because of a duplicate 
key as opposed to when it fails due to out of memory or other condition. 
What do you think?

Sorry for the barrage of trivial patches.  I've been working on this 
intermittently between tasks and did not have the foresight to spool 
them up.  It is not my intention that these patches need be looked at in 
any particular time frame.

I'll be moving the new powerdns, amavis and postfix plugins into full 
production tomorrow after which I'll soon be ready to try submitting 
them again.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: avl_insert.patch
Type: text/x-diff
Size: 805 bytes
Desc: not available
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20071212/19bd8bfd/attachment.patch 

More information about the collectd mailing list