From 0adf963ed6cca5f1b096ff04f246d5e21e2ffe7b Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org" </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> Date: Tue, 22 Jan 2008 01:36:32 +0000 Subject: minor cleanups --- src/run.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/run.c b/src/run.c index fe57858..abe968f 100644 --- a/src/run.c +++ b/src/run.c @@ -43,7 +43,7 @@ void killer(int foo) local_server_destroy(STATE(local), CONFIG(local).path); STATE(mode)->kill(); destroy_alarm_hash(); - unlink(CONFIG(lockfile)); + unlink(CONFIG(lockfile)); dlog(LOG_NOTICE, "---- shutdown received ----"); close_log(); @@ -73,7 +73,7 @@ void local_handler(int fd, void *data) switch(type) { case FLUSH_MASTER: dlog(LOG_WARNING, "`conntrackd -F' is deprecated. " - "Use conntrack -F instead."); + "Use conntrack -F instead."); if (fork() == 0) { execlp("conntrack", "conntrack", "-F", NULL); exit(EXIT_SUCCESS); @@ -122,7 +122,8 @@ init(void) } if (nl_init_event_handler() == -1) { - dlog(LOG_ERR, "can't open netlink handler: %s", strerror(errno)); + dlog(LOG_ERR, "can't open netlink handler: %s", + strerror(errno)); dlog(LOG_ERR, "no ctnetlink kernel support?"); return -1; } @@ -178,8 +179,7 @@ static void __run(struct timeval *next_alarm) if (errno == EINTR) return; - dlog(LOG_WARNING, - "select failed: %s", strerror(errno)); + dlog(LOG_WARNING, "select failed: %s", strerror(errno)); return; } -- cgit v1.2.3