summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-03-02 19:31:44 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-03-02 19:31:44 +0000
commit5dc691f4170a4d2b1616c08d3a04937e1d881d10 (patch)
tree8d220e925d3bcd98bad7596551ffcc0b5ec37e16 /usr.sbin/ppp
parent8b85726c18948c38a796894f4c8b0a35968fdf01 (diff)
another extra endpwent() not needed
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r--usr.sbin/ppp/ppp/systems.c3
1 files changed, 1 insertions, 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 <sys/param.h>
@@ -237,7 +237,6 @@ AllowUsers(struct cmdargs const *arg)
userok = 1;
break;
}
- endpwent();
return 0;
}