author | octo <octo> | |
Tue, 6 Jun 2006 07:50:33 +0000 (07:50 +0000) | ||
committer | octo <octo> | |
Tue, 6 Jun 2006 07:50:33 +0000 (07:50 +0000) | ||
commit | 65b790885ecc7f2663f758b8a67b855a05a91c23 | |
tree | c31b8a271efaaa114584b42ed5e5222d6b239bf2 | tree | snapshot |
parent | f1bfea1ac72c1247356bc892a74620052b4bfab7 | commit | diff |
apcups branch: Fix minor issues with the apcups plugin.
- Removed `#include <errno.h>' since it is included from `collectd.h'.
- Changed `global_host' back to NULL. Added a ?:-construct to use a default
value when querying the server.
- Use `strcmp' rather than `strncmp' to compare the full string, not just part
of the strings.
- Removed `#include <errno.h>' since it is included from `collectd.h'.
- Changed `global_host' back to NULL. Added a ?:-construct to use a default
value when querying the server.
- Use `strcmp' rather than `strncmp' to compare the full string, not just part
of the strings.
src/apcups.c | diff | blob | history |