summaryrefslogtreecommitdiff
path: root/src/local.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-23 12:30:36 +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 12:30:36 +0000
commit379125b1f618b3102015a64b1e9be0bdbe883930 (patch)
treea79eb6f4f0cec0019a02552d895c20e02d987cc0 /src/local.c
parentd658f3ed913affe96511309c6bf3d37aaec2910f (diff)
downloadconntrack-tools-379125b1f618b3102015a64b1e9be0bdbe883930.tar.gz
conntrack-tools-379125b1f618b3102015a64b1e9be0bdbe883930.zip
Max Kellermann <max@duempel.org>:
use size_t
Diffstat (limited to 'src/local.c')
-rw-r--r--src/local.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/local.c b/src/local.c
index 258605f..e2c3599 100644
--- a/src/local.c
+++ b/src/local.c
@@ -29,7 +29,7 @@
int local_server_create(struct local_server *server, struct local_conf *conf)
{
int fd;
- int len;
+ socklen_t len;
struct sockaddr_un local;
if ((fd = socket(AF_UNIX, SOCK_STREAM, 0)) == -1)
@@ -90,7 +90,7 @@ int do_local_server_step(struct local_server *server, void *data,
int local_client_create(struct local_conf *conf)
{
- int len;
+ socklen_t len;
struct sockaddr_un local;
int fd;