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-02-14 14:44:59 +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-02-14 14:44:59 +0000
commit426f53894b8ced42130425c196aea38d115e9e18 (patch)
tree9c0721eb3efef700678df701ca44c80255304ec3 /src/run.c
parenta293fcbc5df63a4867e1cff637b5935c267f5da0 (diff)
downloadconntrack-tools-426f53894b8ced42130425c196aea38d115e9e18.tar.gz
conntrack-tools-426f53894b8ced42130425c196aea38d115e9e18.zip
From: Max Kellermann <max@duempel.org>
whitespace cleanups
Diffstat (limited to 'src/run.c')
-rw-r--r--src/run.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/run.c b/src/run.c
index f5832bc..6cf259d 100644
--- a/src/run.c
+++ b/src/run.c
@@ -48,7 +48,7 @@ void killer(int foo)
sigprocmask(SIG_UNBLOCK, &STATE(block), NULL);
- exit(0);
+ exit(0);
}
static void child(int foo)
@@ -115,7 +115,7 @@ init(void)
}
if (nl_init_event_handler() == -1) {
- dlog(LOG_ERR, "can't open netlink handler: %s",
+ dlog(LOG_ERR, "can't open netlink handler: %s",
strerror(errno));
dlog(LOG_ERR, "no ctnetlink kernel support?");
return -1;
@@ -128,7 +128,7 @@ init(void)
return -1;
}
- /* Signals handling */
+ /* Signals handling */
sigemptyset(&STATE(block));
sigaddset(&STATE(block), SIGTERM);
sigaddset(&STATE(block), SIGINT);
@@ -177,7 +177,7 @@ static void __run(struct timeval *next_alarm)
}
/* signals are racy */
- sigprocmask(SIG_BLOCK, &STATE(block), NULL);
+ sigprocmask(SIG_BLOCK, &STATE(block), NULL);
/* order received via UNIX socket */
if (FD_ISSET(STATE(local).fd, &readfds))
@@ -189,8 +189,8 @@ static void __run(struct timeval *next_alarm)
if (ret == -1) {
switch(errno) {
case ENOBUFS:
- /*
- * It seems that ctnetlink can't back off,
+ /*
+ * It seems that ctnetlink can't back off,
* it's likely that we're losing events.
* Solution: duplicate the socket buffer
* size and resync with master conntrack table.