diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2005-05-23 22:33:33 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2005-05-23 22:33:33 +0000 |
commit | f736ce212564e5be4bceab90237f93ee3aeee8e6 (patch) | |
tree | 36d9c6e02983b2feac63db68f88a4aa3c1b08132 /sbin/isakmpd | |
parent | 7f4309c14cafdbcf2c6baed1c5f294d6990408f3 (diff) |
endpwent() not needed here, pointed out by theo.
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r-- | sbin/isakmpd/monitor.c | 3 |
1 files changed, 1 insertions, 2 deletions
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(); |