X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Flogfile.c;h=e5807f1b4ba5ab6b9a9828cd1929b4547a41dd89;hb=0ad56ec30dc14accfde4cd3794e940d00ca6e641;hp=eca8c34758363507872f33ec13b075019c3575a0;hpb=9717b1a55d60d992c16e66e2ae5bdfb42f80aca8;p=collectd.git diff --git a/src/logfile.c b/src/logfile.c index eca8c347..e5807f1b 100644 --- a/src/logfile.c +++ b/src/logfile.c @@ -53,7 +53,7 @@ static int logfile_config(const char *key, const char *value) { if (log_level < 0) { log_level = LOG_INFO; ERROR("logfile: invalid loglevel [%s] defaulting to 'info'", value); - return (1); + return 1; } } else if (0 == strcasecmp(key, "File")) { sfree(log_file); @@ -194,7 +194,7 @@ static int logfile_notification(const notification_t *n, logfile_print(buf, LOG_INFO, (n->time != 0) ? n->time : cdtime()); - return (0); + return 0; } /* int logfile_notification */ void module_register(void) {