summaryrefslogtreecommitdiffstats
path: root/plugins/imklog/imklog.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/imklog/imklog.c')
-rw-r--r--plugins/imklog/imklog.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/imklog/imklog.c b/plugins/imklog/imklog.c
index 972e93db..7f5c3cec 100644
--- a/plugins/imklog/imklog.c
+++ b/plugins/imklog/imklog.c
@@ -142,13 +142,12 @@ rsRetVal Syslog(int priority, char *fmt, ...)
va_list ap;
char *argl;
- /* Output using syslog. */
+ /* Output using syslog */
if(!strcmp(fmt, "%s")) {
va_start(ap, fmt);
argl = va_arg(ap, char *);
- if (argl[0] == '<' && argl[1] && argl[2] == '>') {
- switch ( argl[1] )
- {
+ if(argl[0] == '<' && argl[1] && argl[2] == '>') {
+ switch(argl[1]) {
case '0':
priority = LOG_EMERG;
break;