diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-05-10 17:18:11 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-05-10 17:18:11 +0000 |
commit | 06b00e8ba78376e8e2c17b3b8507ade85421fe4b (patch) | |
tree | 14a92d771b09819b64b9154546c488ac6b84076d | |
parent | d2c8fd63606880e90e6fa96356f99a71ab678616 (diff) | |
download | busybox-06b00e8ba78376e8e2c17b3b8507ade85421fe4b.tar.gz |
accept() takes a socklen_t, not an int
-rw-r--r-- | networking/telnetd.c | 3 |
1 files changed, 2 insertions, 1 deletions
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, |