X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Flogfile.c;h=e5807f1b4ba5ab6b9a9828cd1929b4547a41dd89;hb=c144ae4659e129a929afb67706a54604220fef43;hp=6629c0b30bf970d4a5945bec49fc0eca34b98903;hpb=42b8d7550d029ed9aef6f25e3eb2009c1f18b144;p=collectd.git diff --git a/src/logfile.c b/src/logfile.c index 6629c0b3..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) { @@ -204,5 +204,3 @@ void module_register(void) { plugin_register_notification("logfile", logfile_notification, /* user_data = */ NULL); } /* void module_register (void) */ - -/* vim: set sw=4 ts=4 tw=78 noexpandtab : */