projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbe0a57
)
tokyotyrant plugin: constify
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 5 Mar 2016 16:21:49 +0000
(17:21 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 5 Mar 2016 16:21:49 +0000
(17:21 +0100)
src/tokyotyrant.c
patch
|
blob
|
history
diff --git
a/src/tokyotyrant.c
b/src/tokyotyrant.c
index
f04a5fc
..
befbd50
100644
(file)
--- a/
src/tokyotyrant.c
+++ b/
src/tokyotyrant.c
@@
-106,8
+106,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;