Code

syslog plugin: constify
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 4 Mar 2016 22:15:47 +0000 (23:15 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 4 Mar 2016 22:15:47 +0000 (23:15 +0100)
src/syslog.c

index 3f73178fa5e09283dec5efee71f57a3d941b0735..849f7d1b1331a04daec6de6d6888c6234044912d 100644 (file)
@@ -90,7 +90,7 @@ static int sl_notification (const notification_t *n,
        char  buf[1024] = "";
        size_t offset = 0;
        int log_severity;
-       char *severity_string;
+       const char *severity_string;
        int status;
 
        if (n->severity > notif_severity)