summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sock.c b/src/sock.c
index 265c03d..977a48e 100644
--- a/src/sock.c
+++ b/src/sock.c
@@ -1,4 +1,4 @@
-/* $Id: sock.c,v 1.41 2004-04-27 18:53:14 rjkaes Exp $
+/* $Id: sock.c,v 1.42 2005-07-12 20:34:26 rjkaes Exp $
*
* Sockets are created and destroyed here. When a new connection comes in from
* a client, we need to copy the socket and the create a second socket to the
@@ -210,7 +210,7 @@ int
getsock_ip(int fd, char* ipaddr)
{
struct sockaddr_storage name;
- int namelen = sizeof(name);
+ socklen_t namelen = sizeof(name);
assert(fd >= 0);