Revert "apcups plugin: Handle "END APC" lines correctly and stop reading."
[collectd.git] / src / apcups.c
index b4bc099..8006bd1 100644 (file)
@@ -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)