projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
write_graphite: enable TCP keepalive on network socket
[collectd.git]
/
src
/
tokyotyrant.c
diff --git
a/src/tokyotyrant.c
b/src/tokyotyrant.c
index
f04a5fc
..
7c6d912
100644
(file)
--- a/
src/tokyotyrant.c
+++ b/
src/tokyotyrant.c
@@
-20,6
+20,7
@@
**/
#include "collectd.h"
+
#include "plugin.h"
#include "common.h"
#include "utils_cache.h"
@@
-106,8
+107,8
@@
static void tt_submit (gauge_t val, const char* type)
static void tt_open_db (void)
{
- c
har* host = NULL
;
- int port = DEFAULT_PORT;
+ c
onst char *host
;
+ int
port = DEFAULT_PORT;
if (rdb != NULL)
return;