summaryrefslogtreecommitdiff
path: root/networking/telnetd.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/telnetd.c')
-rw-r--r--networking/telnetd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/telnetd.c b/networking/telnetd.c
index 41e4707..d51560b 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,