diff options
Diffstat (limited to 'usr.sbin/ospfd/control.c')
-rw-r--r-- | usr.sbin/ospfd/control.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.sbin/ospfd/control.c b/usr.sbin/ospfd/control.c index 09733bc407e..b9824b55ed7 100644 --- a/usr.sbin/ospfd/control.c +++ b/usr.sbin/ospfd/control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: control.c,v 1.45 2018/08/29 08:43:16 remi Exp $ */ +/* $OpenBSD: control.c,v 1.46 2020/09/16 20:50:10 remi Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -125,13 +125,10 @@ control_listen(void) } void -control_cleanup(char *path) +control_cleanup(void) { - if (path == NULL) - return; event_del(&control_state.ev); event_del(&control_state.evt); - unlink(path); } /* ARGSUSED */ |