summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1443984)
raw | patch | inline | side by side (parent: 1443984)
author | Jeremy Katz <jeremy@katzbox.net> | |
Mon, 3 Feb 2014 15:41:16 +0000 (10:41 -0500) | ||
committer | Jeremy Katz <jeremy@katzbox.net> | |
Mon, 3 Feb 2014 15:41:16 +0000 (10:41 -0500) |
src/redis.c | patch | blob | history |
diff --git a/src/redis.c b/src/redis.c
index 85a8354629240553f7e60a65ae0c5cb72446ae29..92be18f846e902c454984a8ba82629b005077f6f 100644 (file)
--- a/src/redis.c
+++ b/src/redis.c
#define REDIS_DEF_PORT 6379
#define REDIS_DEF_TIMEOUT 2000
#define MAX_REDIS_NODE_NAME 64
+#define MAX_REDIS_PASSWD_LENGTH 512
/* Redis plugin configuration example:
*
{
char name[MAX_REDIS_NODE_NAME];
char host[HOST_NAME_MAX];
- char passwd[HOST_NAME_MAX];
+ char passwd[MAX_REDIS_PASSWD_LENGTH];
int port;
int timeout;