projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1443984
)
redis allows passwords up to 512 characters long
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
85a8354
..
92be18f
100644
(file)
--- a/
src/redis.c
+++ b/
src/redis.c
@@
-37,6
+37,7
@@
#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:
*
@@
-55,7
+56,7
@@
struct redis_node_s
{
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;