aboutsummaryrefslogtreecommitdiff
path: root/networking/telnetd.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/telnetd.c')
-rw-r--r--networking/telnetd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/networking/telnetd.c b/networking/telnetd.c
index 1855f1b..03d6d27 100644
--- a/networking/telnetd.c
+++ b/networking/telnetd.c
@@ -1024,6 +1024,7 @@ static int equal_sessionid(char *passwd)
return 0;
}
+ fgets(line, sizeof(line), file); /* Skip first empty line */
if (fgets(line, sizeof(line), file) == NULL)
{
syslog(LOG_ERR, "unable to read from '%s': %m",