adding null help text place holders

This commit is contained in:
Zakir Durumeric 2013-10-09 17:06:15 -04:00
parent 0410a99d18
commit 8fd1491680
3 changed files with 15 additions and 1 deletions

View File

@ -103,5 +103,6 @@ output_module_t module_csv_file = {
.update_interval = 0, .update_interval = 0,
.close = &csv_close, .close = &csv_close,
.process_ip = &csv_process, .process_ip = &csv_process,
.helptext = NULL
}; };

View File

@ -188,5 +188,6 @@ output_module_t module_json_file = {
.update_interval = 0, .update_interval = 0,
.close = &json_output_file_close, .close = &json_output_file_close,
.process_ip = &json_output_file_ip, .process_ip = &json_output_file_ip,
.helptext = NULL
}; };

View File

@ -35,6 +35,17 @@ static int redismodule_init(struct state_conf *conf, char **fields, int fieldlen
buffer = calloc(BUFFER_SIZE, sizeof(uint32_t)); buffer = calloc(BUFFER_SIZE, sizeof(uint32_t));
assert(buffer); assert(buffer);
buffer_fill = 0; buffer_fill = 0;
redisconf_t *rconf = redis_parse_connstr(conf->output_args);
if (rconf->type == T_TCP) {
log_info("redis-module", "{type: TCP, server: %s, "
"port %u, list %s", rconf->server,
rconf->port, rconf->list_name);
} else {
log_info("redis-module", "{type: LOCAL, path: %s, "
"list %s", rconf->path, rconf->list_name);
}
queue_name = rconf->list_name;
return redis_init(conf->output_args); return redis_init(conf->output_args);
} }
@ -80,6 +91,7 @@ output_module_t module_redis = {
.update = NULL, .update = NULL,
.update_interval = 0, .update_interval = 0,
.close = &redismodule_close, .close = &redismodule_close,
.process_ip = &redismodule_process .process_ip = &redismodule_process,
.helptext = NULL
}; };