summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f18ea7c)
raw | patch | inline | side by side (parent: f18ea7c)
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 63b6a56bd9945fb047515c054854be1e1bf51920..81ae29c3035269513105e87a1193bdc205b9808a 100644 (file)
--- a/src/email.c
+++ b/src/email.c
{
struct sockaddr_un addr;
- char *path = (NULL == sock_file) ? SOCK_PATH : sock_file;
- char *group = (NULL == sock_group) ? COLLECTD_GRP_NAME : sock_group;
+ const char *path = (NULL == sock_file) ? SOCK_PATH : sock_file;
+ const char *group = (NULL == sock_group) ? COLLECTD_GRP_NAME : sock_group;
/* create UNIX socket */
errno = 0;