From 561844fdb6c147cba89e9f780335949df33ffd8d Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sun, 25 Jun 2006 10:27:04 +0200 Subject: [PATCH] Set `operating_mode' to a defined state, even if not linking with librrd. --- src/collectd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/collectd.c b/src/collectd.c index b4ee5046..e9bc0d5d 100644 --- a/src/collectd.c +++ b/src/collectd.c @@ -291,6 +291,8 @@ int main (int argc, char **argv) #if HAVE_LIBRRD operating_mode = MODE_LOCAL; +#else + operating_mode = MODE_CLIENT; #endif /* open syslog */ -- 2.11.0