From 4ed2fa99117462f969d273d510ee7dccb6e9586f Mon Sep 17 00:00:00 2001 From: octo Date: Wed, 15 Mar 2006 11:42:53 +0000 Subject: [PATCH] Changed `COLLECTD_STEP' to be a string.. --- configure.in | 2 +- src/collectd.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.11.0