From: Ruben Kerkhof Date: Fri, 4 Mar 2016 22:05:05 +0000 (+0100) Subject: email plugin: constify X-Git-Tag: collectd-5.6.0~437 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=66005379ede9257c7a9c52759cec95591121ad5c;p=collectd.git email plugin: constify --- 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;