X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=pppd%2Fsys-linux.c;h=caaf3a9adb7bd291c9eea814d7512a4bcc42019b;hb=e38fa6a29a90a514ad7dfa8fa873d5fd49bc9ca1;hp=918fa72c23dd0cca6fcc7295df5c5dca8e0d6443;hpb=cc593def97b4f6f271fad15805b61c4773c4e30a;p=ppp.git 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