]> git.ozlabs.org Git - ppp.git/commitdiff
Correct utmp handling - Robert Davidson <puttputt@iaccess.ws>
authorMichal Ostrowski <mostrows@speakeasy.net>
Fri, 14 Dec 2001 02:52:09 +0000 (02:52 +0000)
committerMichal Ostrowski <mostrows@speakeasy.net>
Fri, 14 Dec 2001 02:52:09 +0000 (02:52 +0000)
pppd/sys-linux.c

index 918fa72c23dd0cca6fcc7295df5c5dca8e0d6443..caaf3a9adb7bd291c9eea814d7512a4bcc42019b 100644 (file)
@@ -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