Code

Set `operating_mode' to a defined state, even if not linking with librrd.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sun, 25 Jun 2006 08:27:04 +0000 (10:27 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sun, 25 Jun 2006 08:27:04 +0000 (10:27 +0200)
src/collectd.c

index b4ee50460d947bfb04359119ef3c6bdd5504bae5..e9bc0d5dcc89ccd032976af8beb7d6a08be1b00f 100644 (file)
@@ -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 */