From: Florian Forster Date: Sun, 29 Jun 2008 12:26:23 +0000 (+0200) Subject: src/rrd_client.h: Make it possible to set a custom RRDCACHED_DEFAULT_ADDRESS. X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=commitdiff_plain;h=04919e1c3e6ceda911e5619047cb7e27b4155986 src/rrd_client.h: Make it possible to set a custom RRDCACHED_DEFAULT_ADDRESS. --- diff --git a/src/rrd_client.h b/src/rrd_client.h index 895ff92..92d4c07 100644 --- a/src/rrd_client.h +++ b/src/rrd_client.h @@ -22,7 +22,10 @@ #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"