projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d9b002
)
Changed `COLLECTD_STEP' to be a string..
author
octo
<octo>
Wed, 15 Mar 2006 11:42:53 +0000
(11:42 +0000)
committer
octo
<octo>
Wed, 15 Mar 2006 11:42:53 +0000
(11:42 +0000)
configure.in
patch
|
blob
|
history
src/collectd.h
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index
2f3fdc5
..
d533a7f
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-538,7
+538,7
@@
AC_ARG_WITH(heartbeat, [AS_HELP_STRING([--with-heartbeat=SECONDS], [Heartbeat of
if test $collectd_step -ne 10
then
- AC_DEFINE_UNQUOTED(COLLECTD_STEP,
$collectd_step
, [Interval in which plugins are queried.])
+ AC_DEFINE_UNQUOTED(COLLECTD_STEP,
"$collectd_step"
, [Interval in which plugins are queried.])
fi
if test $collectd_heartbeat -ne 25
then
diff --git
a/src/collectd.h
b/src/collectd.h
index
d00dce3
..
5c21325
100644
(file)
--- a/
src/collectd.h
+++ b/
src/collectd.h
@@
-200,7
+200,7
@@
#define MODE_LOCAL 0x04
#ifndef COLLECTD_STEP
-# define COLLECTD_STEP
10
+# define COLLECTD_STEP
"10"
#endif
#ifndef COLLECTD_HEARTBEAT