summaryrefslogtreecommitdiff
path: root/src/run.c
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-22 01:36:32 +0000
committer/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-22 01:36:32 +0000
commit0adf963ed6cca5f1b096ff04f246d5e21e2ffe7b (patch)
treedf69a2f615ce31b65b9d93251a9364444dce6872 /src/run.c
parent8078747751df6e8ccc27b76f2f53c5e393d745ae (diff)
downloadconntrack-tools-0adf963ed6cca5f1b096ff04f246d5e21e2ffe7b.tar.gz
conntrack-tools-0adf963ed6cca5f1b096ff04f246d5e21e2ffe7b.zip
minor cleanups
Diffstat (limited to 'src/run.c')
-rw-r--r--src/run.c10
1 files 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;
}