X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Femail.c;h=81ae29c3035269513105e87a1193bdc205b9808a;hb=66005379ede9257c7a9c52759cec95591121ad5c;hp=63b6a56bd9945fb047515c054854be1e1bf51920;hpb=b76f88c5bafa82e3c939eb65c13acd431e07cc01;p=collectd.git diff --git a/src/email.c b/src/email.c index 63b6a56b..81ae29c3 100644 --- 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; + 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;