summaryrefslogtreecommitdiffstats
path: root/innbbsd/connectsock.c
diff options
context:
space:
mode:
Diffstat (limited to 'innbbsd/connectsock.c')
-rw-r--r--innbbsd/connectsock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/innbbsd/connectsock.c b/innbbsd/connectsock.c
index 2340eaea..0dd32b03 100644
--- a/innbbsd/connectsock.c
+++ b/innbbsd/connectsock.c
@@ -295,7 +295,8 @@ int
tryaccept(s)
int s;
{
- int ns, fromlen;
+ int ns;
+ socklen_t fromlen;
struct sockaddr sockaddr; /* Internet endpoint address */
fromlen = sizeof(struct sockaddr_in);