From 309145fa75386a73bf1584a93e81450368f8569e Mon Sep 17 00:00:00 2001 From: Pavel Rochnyack Date: Sun, 8 May 2016 12:53:35 +0600 Subject: [PATCH] Revert "apcups plugin: Handle "END APC" lines correctly and stop reading." This reverts commit fb075e15e3400afdb691b88f1e1a4a38578aaba9. --- src/apcups.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/apcups.c b/src/apcups.c index b4bc0997..8006bd1e 100644 --- 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) -- 2.11.0