author | Florian Forster <octo@huhu.verplant.org> | |
Mon, 6 Oct 2008 09:46:59 +0000 (11:46 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Mon, 6 Oct 2008 09:46:59 +0000 (11:46 +0200) | ||
commit | 953bd0f881faa40c415a1f1a9d7e2da739d343ff | |
tree | 16d02fa6c8d1e6241306b8f9043ae003d1b94901 | tree | snapshot |
parent | f713f3a43bb624186cc42313fa37fd79c5cf81be | commit | diff |
src/collectd-nagios.c: Improve handling of lines returned from `GETVAL'.
Then selecting only certain data sources with the `-d' option, the program
would try to read more lines from the server than the server reports, resulting
in the communication never finishing.
This patch resolves that problem and introduces a couple other error handling
blocks.
Thanks to Fabian Linzberger for pointing this out.
Then selecting only certain data sources with the `-d' option, the program
would try to read more lines from the server than the server reports, resulting
in the communication never finishing.
This patch resolves that problem and introduces a couple other error handling
blocks.
Thanks to Fabian Linzberger for pointing this out.
src/collectd-nagios.c | diff | blob | history |