projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix tcp state names to be like others.
[collectd.git]
/
src
/
redis.c
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 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:
*
/* Redis plugin configuration example:
*
@@
-55,7
+56,7
@@
struct redis_node_s
{
char name[MAX_REDIS_NODE_NAME];
char host[HOST_NAME_MAX];
{
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;
int port;
int timeout;