projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6600537
)
syslog plugin: constify
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Fri, 4 Mar 2016 22:15:47 +0000
(23:15 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Fri, 4 Mar 2016 22:15:47 +0000
(23:15 +0100)
src/syslog.c
patch
|
blob
|
history
diff --git
a/src/syslog.c
b/src/syslog.c
index
3f73178
..
849f7d1
100644
(file)
--- a/
src/syslog.c
+++ b/
src/syslog.c
@@
-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;
+ c
onst c
har *severity_string;
int status;
if (n->severity > notif_severity)