projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f18ea7c
)
email plugin: constify
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Fri, 4 Mar 2016 22:05:05 +0000
(23:05 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Fri, 4 Mar 2016 22:05:05 +0000
(23:05 +0100)
src/email.c
patch
|
blob
|
history
diff --git
a/src/email.c
b/src/email.c
index
63b6a56
..
81ae29c
100644
(file)
--- a/
src/email.c
+++ b/
src/email.c
@@
-389,8
+389,8
@@
static void *open_connection (void __attribute__((unused)) *arg)
{
struct sockaddr_un addr;
- char *path = (NULL == sock_file) ? SOCK_PATH : sock_file;
- char *group = (NULL == sock_group) ? COLLECTD_GRP_NAME : sock_group;
+ c
onst c
har *path = (NULL == sock_file) ? SOCK_PATH : sock_file;
+ c
onst c
har *group = (NULL == sock_group) ? COLLECTD_GRP_NAME : sock_group;
/* create UNIX socket */
errno = 0;