From 642d178962a4ff989c1f4710ed4abb4ff5928e9e Mon Sep 17 00:00:00 2001 From: Pierre-Yves Ritschard Date: Mon, 19 Nov 2012 14:34:04 +0100 Subject: [PATCH] fix redis default node initialization unbreak redis plugin build Signed-off-by: Florian Forster --- src/redis.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/redis.c b/src/redis.c index 439cf4b8..85a83546 100644 --- a/src/redis.c +++ b/src/redis.c @@ -33,6 +33,7 @@ #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 @@ -229,8 +230,8 @@ static void redis_submit_d (char *plugin_instance, 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); -- 2.30.2