projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1917116
)
memcached plugin: constify
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Fri, 4 Mar 2016 20:06:15 +0000
(21:06 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Fri, 4 Mar 2016 20:06:15 +0000
(21:06 +0100)
src/memcached.c
patch
|
blob
|
history
diff --git
a/src/memcached.c
b/src/memcached.c
index
d7578b6
..
2c01a57
100644
(file)
--- a/
src/memcached.c
+++ b/
src/memcached.c
@@
-98,8
+98,8
@@
static int memcached_connect_unix (memcached_t *st)
static int memcached_connect_inet (memcached_t *st)
{
- char *host;
- char *port;
+ c
onst c
har *host;
+ c
onst c
har *port;
struct addrinfo ai_hints;
struct addrinfo *ai_list, *ai_ptr;