From 38088efe9838585c590a8ce30942cee0488fdbbf Mon Sep 17 00:00:00 2001 From: vapier Date: Wed, 10 May 2006 17:18:11 +0000 Subject: accept() takes a socklen_t, not an int git-svn-id: svn://busybox.net/trunk/busybox@15054 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- networking/telnetd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/networking/telnetd.c b/networking/telnetd.c index 41e4707a3..d51560bfb 100644 --- a/networking/telnetd.c +++ b/networking/telnetd.c @@ -525,7 +525,8 @@ telnetd_main(int argc, char **argv) #ifndef CONFIG_FEATURE_TELNETD_INETD /* First check for and accept new sessions. */ if (FD_ISSET(master_fd, &rdfdset)) { - int fd, salen; + int fd; + socklen_t salen; salen = sizeof(sa); if ((fd = accept(master_fd, (struct sockaddr *)&sa, -- cgit v1.2.3-55-g6feb