summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dfe983c)
raw | patch | inline | side by side (parent: dfe983c)
author | Pierre-Yves Ritschard <pyr@spootnik.org> | |
Mon, 19 Nov 2012 13:34:04 +0000 (14:34 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Mon, 19 Nov 2012 15:37:05 +0000 (16:37 +0100) |
unbreak redis plugin build
Signed-off-by: Florian Forster <octo@collectd.org>
Signed-off-by: Florian Forster <octo@collectd.org>
src/redis.c | patch | blob | history |
diff --git a/src/redis.c b/src/redis.c
index 439cf4b8158501e2bd215228b0a369e9dcb32f52..85a8354629240553f7e60a65ae0c5cb72446ae29 100644 (file)
--- a/src/redis.c
+++ b/src/redis.c
#endif
#define REDIS_DEF_HOST "localhost"
+#define REDIS_DEF_PASSWD ""
#define REDIS_DEF_PORT 6379
#define REDIS_DEF_TIMEOUT 2000
#define MAX_REDIS_NODE_NAME 64
static int redis_init (void) /* {{{ */
{
- redis_node_t rn = { "default", REDIS_DEF_HOST, REDIS_DEF_PORT,
- REDIS_DEF_TIMEOUT, /* next = */ NULL };
+ redis_node_t rn = { "default", REDIS_DEF_HOST, REDIS_DEF_PASSWD,
+ REDIS_DEF_PORT, REDIS_DEF_TIMEOUT, /* next = */ NULL };
if (nodes_head == NULL)
redis_node_add (&rn);