projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
amqp1: clang-format
[collectd.git]
/
src
/
tokyotyrant.c
diff --git
a/src/tokyotyrant.c
b/src/tokyotyrant.c
index
1534f51
..
aca0a4e
100644
(file)
--- a/
src/tokyotyrant.c
+++ b/
src/tokyotyrant.c
@@
-33,10
+33,10
@@
static const char *config_keys[] = {"Host", "Port"};
static int config_keys_num = STATIC_ARRAY_SIZE(config_keys);
static const char *config_keys[] = {"Host", "Port"};
static int config_keys_num = STATIC_ARRAY_SIZE(config_keys);
-static char *config_host
= NULL
;
-static char *config_port
= NULL
;
+static char *config_host;
+static char *config_port;
-static TCRDB *rdb
= NULL
;
+static TCRDB *rdb;
static int tt_config(const char *key, const char *value) {
if (strcasecmp("Host", key) == 0) {
static int tt_config(const char *key, const char *value) {
if (strcasecmp("Host", key) == 0) {