src/rrd_client.h: Make it possible to set a custom RRDCACHED_DEFAULT_ADDRESS.
authorFlorian Forster <octo@leeloo.home.verplant.org>
Sun, 29 Jun 2008 12:26:23 +0000 (14:26 +0200)
committerFlorian Forster <octo@leeloo.home.verplant.org>
Sun, 29 Jun 2008 12:26:23 +0000 (14:26 +0200)
src/rrd_client.h

index 895ff92..92d4c07 100644 (file)
 #ifndef __RRD_CLIENT_H
 #define __RRD_CLIENT_H 1
 
-#define RRDCACHED_DEFAULT_ADDRESS "unix:/tmp/rrdd.sock"
+#ifndef RRDCACHED_DEFAULT_ADDRESS
+# define RRDCACHED_DEFAULT_ADDRESS "unix:/tmp/rrdcached.sock"
+#endif
+
 #define RRDCACHED_DEFAULT_PORT "42217"
 #define ENV_RRDCACHED_ADDRESS "RRDCACHED_ADDRESS"