summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3e8855c)
raw | patch | inline | side by side (parent: 3e8855c)
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) |
src/apcups.c | patch | blob | history |
diff --git a/src/apcups.c b/src/apcups.c
index b4bc0997e6c3e7d309d13e23225edef31ca7f465..8006bd1edac61ad8c5f14a53c87102cdd6650d2f 100644 (file)
--- a/src/apcups.c
+++ b/src/apcups.c
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)