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 3f73178..849f7d1 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)