aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-02-03 12:58:59 +0000
committerHarald Welte <laforge@gnumonks.org>2009-02-03 12:58:59 +0000
commitdc55db9d952b19cc0a06f625827d053177d005a7 (patch)
treeeb083b352326556cd178043804a9d5272bd50424 /src
parent8f5e23938892cc8306b91e7cacb6160c384f91a9 (diff)
cosmetic fixes
Diffstat (limited to 'src')
-rw-r--r--src/select.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/select.c b/src/select.c
index 959c42076..925f3395f 100644
--- a/src/select.c
+++ b/src/select.c
@@ -2,7 +2,7 @@
* userspace logging daemon for the iptables ULOG target
* of the linux 2.4 netfilter subsystem.
*
- * (C) 2000-2008 by Harald Welte <laforge@gnumonks.org>
+ * (C) 2000-2009 by Harald Welte <laforge@gnumonks.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2
@@ -85,19 +85,19 @@ int bsc_select_main()
/* call registered callback functions */
llist_for_each_entry_safe(ufd, tmp, &bsc_fds, list) {
- int flags = 0;
+ int flags = 0;
- if (FD_ISSET(ufd->fd, &readset))
- flags |= BSC_FD_READ;
+ if (FD_ISSET(ufd->fd, &readset))
+ flags |= BSC_FD_READ;
- if (FD_ISSET(ufd->fd, &writeset))
- flags |= BSC_FD_WRITE;
+ if (FD_ISSET(ufd->fd, &writeset))
+ flags |= BSC_FD_WRITE;
- if (FD_ISSET(ufd->fd, &exceptset))
- flags |= BSC_FD_EXCEPT;
+ if (FD_ISSET(ufd->fd, &exceptset))
+ flags |= BSC_FD_EXCEPT;
- if (flags)
- ufd->cb(ufd, flags);
+ if (flags)
+ ufd->cb(ufd, flags);
}
return i;
}