From fecefef95ccdad604afe51f954f1e25861f022e6 Mon Sep 17 00:00:00 2001 From: Michal Ostrowski Date: Fri, 14 Dec 2001 02:52:09 +0000 Subject: [PATCH] Correct utmp handling - Robert Davidson --- pppd/sys-linux.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/pppd/sys-linux.c b/pppd/sys-linux.c index 918fa72..caaf3a9 100644 --- a/pppd/sys-linux.c +++ b/pppd/sys-linux.c @@ -2073,9 +2073,6 @@ void logwtmp (const char *line, const char *name, const char *host) while ((utp = getutent()) && (utp->ut_pid != mypid)) /* nothing */; - /* Is this call really necessary? There is another one after the 'put' */ - endutent(); - if (utp) memcpy(&ut, utp, sizeof(ut)); else -- 2.39.2