projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f38ca9
)
nut plugin: remove trailing whitespace
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
e382095
..
2bd4019
100644
(file)
--- a/
src/nut.c
+++ b/
src/nut.c
@@
-160,7
+160,7
@@
static int nut_set_connect_timeout(const char *value) {
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 */