[Nagiosplug-devel] [Fwd: [PATCH] check_snmp: Update last patch to copy value verbatim]

Thomas Guyot-Sionnest dermoth at aei.ca
Wed Mar 31 09:04:43 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I re-worked last commit (check_snmp fix) as I realized I didn't need to
use the double-conversion; merely taking the pointer diff for string
length is enough to get only the strtod-parseable portion of the string.

This patch is done against the previous commit (08d8d119) so you can
easily compare it with with the last commit in Git. The
double-conversion gives more predictable results while copying the value
(this patch) ensure backwards-compatibility of anything using perfdata.

Any comment?

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFLsvQK6dZ+Kt5BchYRAsRbAKDaGEjbswLVKCoBqUFWdYA8vVP8FgCgycQ9
fUzOOQW8EgBbdxekNa9FwuA=
=jxeJ
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded message was scrubbed...
From: Thomas Guyot-Sionnest <dermoth at aei.ca>
Subject: [PATCH] check_snmp: Update last patch to copy value verbatim
Date: Wed, 31 Mar 2010 02:59:33 -0400
Size: 3110
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20100331/e8be894f/attachment.eml>


More information about the Devel mailing list