From f736ce212564e5be4bceab90237f93ee3aeee8e6 Mon Sep 17 00:00:00 2001 From: Hakan Olsson Date: Mon, 23 May 2005 22:33:33 +0000 Subject: endpwent() not needed here, pointed out by theo. --- sbin/isakmpd/monitor.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sbin/isakmpd') diff --git a/sbin/isakmpd/monitor.c b/sbin/isakmpd/monitor.c index f7163418d4c..294b9ec871c 100644 --- a/sbin/isakmpd/monitor.c +++ b/sbin/isakmpd/monitor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: monitor.c,v 1.46 2005/05/23 22:21:56 ho Exp $ */ +/* $OpenBSD: monitor.c,v 1.47 2005/05/23 22:33:32 ho Exp $ */ /* * Copyright (c) 2003 Håkan Olsson. All rights reserved. @@ -109,7 +109,6 @@ monitor_init(int debug) log_fatalx("monitor_init: getpwnam(\"%s\") failed", ISAKMPD_PRIVSEP_USER); strlcpy(m_state.root, pw->pw_dir, sizeof m_state.root); - endpwent(); set_monitor_signals(); m_state.pid = fork(); -- cgit v1.2.3