summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Eitzenberger <heitzenberger@astaro.com>2009-10-09 13:01:52 +0200
committerHarald Welte <laforge@gnumonks.org>2010-10-21 19:15:37 +0200
commit4e2f01801fdd020e35c198813c2efd77aab81c8d (patch)
treef267d7c55cb0eb44db1cac6a24658d278f3a3591
parent8280649656832969f5f0b7792185762fe08942dc (diff)
db: minor improvement
Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
-rw-r--r--src/db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.c b/src/db.c
index 0aa009e..bde3936 100644
--- a/src/db.c
+++ b/src/db.c
@@ -548,7 +548,7 @@ ulogd_db_configure(struct ulogd_pluginstance *upi)
struct db_instance *di = upi_priv(upi);
int ret;
- if (!!keymap_ce(upi) != !!insert_ce(upi)) {
+ if (!keymap_ce(upi) != !insert_ce(upi)) {
upi_log(upi, ULOGD_FATAL, "'keymap' requires 'insert'.\n");
return ULOGD_IRET_ERR;
}