projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/Makefile: Don't set subdir-objects.
[collectd.git]
/
src
/
tokyotyrant.c
diff --git
a/src/tokyotyrant.c
b/src/tokyotyrant.c
index
7fa621b
..
befbd50
100644
(file)
--- a/
src/tokyotyrant.c
+++ b/
src/tokyotyrant.c
@@
-78,7
+78,7
@@
static int tt_config (const char *key, const char *value)
return (0);
}
return (0);
}
-static void printerr
(
)
+static void printerr
(void
)
{
int ecode = tcrdbecode(rdb);
ERROR ("tokyotyrant plugin: error: %d, %s",
{
int ecode = tcrdbecode(rdb);
ERROR ("tokyotyrant plugin: error: %d, %s",
@@
-106,8
+106,8
@@
static void tt_submit (gauge_t val, const char* type)
static void tt_open_db (void)
{
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;
if (rdb != NULL)
return;