projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc80c73
)
nut plugin: Fix building without the `upsclient' library.
author
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Sat, 31 Mar 2007 06:15:43 +0000
(08:15 +0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Sat, 31 Mar 2007 06:15:43 +0000
(08:15 +0200)
src/nut.c
patch
|
blob
|
history
diff --git
a/src/nut.c
b/src/nut.c
index
73a3318
..
d839ba4
100644
(file)
--- a/
src/nut.c
+++ b/
src/nut.c
@@
-330,7
+330,6
@@
static int nut_read (void)
return ((success != 0) ? 0 : -1);
} /* int nut_read */
-#endif /* NUT_HAVE_READ */
static int nut_shutdown (void)
{
@@
-347,6
+346,7
@@
static int nut_shutdown (void)
return (0);
} /* int nut_shutdown */
+#endif /* NUT_HAVE_READ */
void module_register (modreg_e load)
{