summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7f38ca9)
raw | patch | inline | side by side (parent: 7f38ca9)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sun, 16 Jul 2017 20:37:31 +0000 (22:37 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sun, 16 Jul 2017 20:37:31 +0000 (22:37 +0200) |
src/nut.c | patch | blob | history |
diff --git a/src/nut.c b/src/nut.c
index e3820951258f27569e4d8c9da710a3b3b2c2b051..2bd4019bb5efdb9b5e126cf01ef890fed63cc8e9 100644 (file)
--- a/src/nut.c
+++ b/src/nut.c
ret = strtol(value, /* endptr = */ NULL, /* base = */ 10);
if (errno == 0)
connect_timeout = ret;
- else
+ else
WARNING("nut plugin: The ConnectTimeout option requires numeric argument. "
"Setting ignored.");
#else /* #if HAVE_UPSCLI_TRYCONNECT */