projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e8855c
)
Revert "apcups plugin: Handle "END APC" lines correctly and stop reading."
author
Pavel Rochnyack
<pavel2000@ngs.ru>
Sun, 8 May 2016 06:53:35 +0000
(12:53 +0600)
committer
Pavel Rochnyack
<pavel2000@ngs.ru>
Sun, 8 May 2016 06:53:35 +0000
(12:53 +0600)
This reverts commit
fb075e15e3400afdb691b88f1e1a4a38578aaba9
.
src/apcups.c
patch
|
blob
|
history
diff --git
a/src/apcups.c
b/src/apcups.c
index
b4bc099
..
8006bd1
100644
(file)
--- a/
src/apcups.c
+++ b/
src/apcups.c
@@
-322,9
+322,6
@@
static int apc_query_server (char const *node, char const *service,
printf ("net_recv = `%s';\n", recvline);
#endif /* if APCMAIN */
- if (strncmp ("END APC", recvline, strlen ("END APC")) == 0)
- break;
-
toksaveptr = NULL;
tokptr = strtok_r (recvline, " :\t", &toksaveptr);
while (tokptr != NULL)