diff options
Diffstat (limited to 'networking/telnetd.c')
-rw-r--r-- | networking/telnetd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/telnetd.c b/networking/telnetd.c index ff83c93da..51bd0c012 100644 --- a/networking/telnetd.c +++ b/networking/telnetd.c | |||
@@ -335,7 +335,7 @@ free_session(struct tsession *ts) | |||
335 | free(ts); | 335 | free(ts); |
336 | 336 | ||
337 | /* scan all sessions and find new maxfd */ | 337 | /* scan all sessions and find new maxfd */ |
338 | ts = sessions; | 338 | ts = sessions; |
339 | maxfd = 0; | 339 | maxfd = 0; |
340 | while (ts) { | 340 | while (ts) { |
341 | if (maxfd < ts->ptyfd) | 341 | if (maxfd < ts->ptyfd) |