projects
/
rrdtool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2592fa3
)
src/rrd_client.h: Make it possible to set a custom RRDCACHED_DEFAULT_ADDRESS.
author
Florian Forster
<octo@leeloo.home.verplant.org>
Sun, 29 Jun 2008 12:26:23 +0000
(14:26 +0200)
committer
Florian Forster
<octo@leeloo.home.verplant.org>
Sun, 29 Jun 2008 12:26:23 +0000
(14:26 +0200)
src/rrd_client.h
patch
|
blob
|
history
diff --git
a/src/rrd_client.h
b/src/rrd_client.h
index
895ff92
..
92d4c07
100644
(file)
--- 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"