summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 29713f4)
raw | patch | inline | side by side (parent: 29713f4)
author | octo <octo> | |
Wed, 24 May 2006 06:16:00 +0000 (06:16 +0000) | ||
committer | octo <octo> | |
Wed, 24 May 2006 06:16:00 +0000 (06:16 +0000) |
src/apcups.c | patch | blob | history |
diff --git a/src/apcups.c b/src/apcups.c
index a1fa277061b89e8d75dd8fd28f893925b90ec8d2..8cad3dff23e31726e07558507c182bc906913265 100644 (file)
--- a/src/apcups.c
+++ b/src/apcups.c
/* TODO: Keep the socket open, if possible */
if ((sockfd = net_open (host, NULL, port)) < 0)
{
- /* Complain once every six hours.
+ /* Complain once every six hours. */
int complain_step = 21600 / atoi (COLLECTD_STEP);
if ((complain % complain_step) == 0)