From: octo Date: Wed, 15 Mar 2006 11:42:53 +0000 (+0000) Subject: Changed `COLLECTD_STEP' to be a string.. X-Git-Tag: collectd-3.8.6^2~92^2~8 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=4ed2fa99117462f969d273d510ee7dccb6e9586f;p=collectd.git Changed `COLLECTD_STEP' to be a string.. --- diff --git a/configure.in b/configure.in index 2f3fdc52..d533a7f8 100644 --- 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 d00dce32..5c213256 100644 --- 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