From 5dc691f4170a4d2b1616c08d3a04937e1d881d10 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 2 Mar 2008 19:31:44 +0000 Subject: another extra endpwent() not needed --- usr.sbin/ppp/ppp/systems.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/usr.sbin/ppp/ppp/systems.c b/usr.sbin/ppp/ppp/systems.c index cdd39a1c001..9ec35d21ad5 100644 --- a/usr.sbin/ppp/ppp/systems.c +++ b/usr.sbin/ppp/ppp/systems.c @@ -25,7 +25,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $OpenBSD: systems.c,v 1.19 2008/03/02 18:46:33 miod Exp $ + * $OpenBSD: systems.c,v 1.20 2008/03/02 19:31:43 deraadt Exp $ */ #include @@ -237,7 +237,6 @@ AllowUsers(struct cmdargs const *arg) userok = 1; break; } - endpwent(); return 0; } -- cgit v1.2.3