diff options
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-23 10:16:03 +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-23 10:16:03 +0000 |
commit | 86c4c05681e8e38616fb7b0b575b4cd944ddfa83 (patch) | |
tree | 690c52af1830084c9a6d1d2e8cb7641860e1ff19 /src/run.c | |
parent | 9e0585bb826cf7bb879ed3ad68a26767d3e33379 (diff) | |
download | conntrack-tools-86c4c05681e8e38616fb7b0b575b4cd944ddfa83.tar.gz conntrack-tools-86c4c05681e8e38616fb7b0b575b4cd944ddfa83.zip |
Max Kellermann <max@duempel.org>:
fix error checking of local_create_server()
Diffstat (limited to 'src/run.c')
-rw-r--r-- | src/run.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -116,7 +116,7 @@ init(void) /* local UNIX socket */ STATE(local) = local_server_create(&CONFIG(local)); - if (!STATE(local)) { + if (STATE(local) == -1) { dlog(LOG_ERR, "can't open unix socket!"); return -1; } |