diff options
author | Pierre-Yves Ritschard <pyr@cvs.openbsd.org> | 2008-06-26 15:13:18 +0000 |
---|---|---|
committer | Pierre-Yves Ritschard <pyr@cvs.openbsd.org> | 2008-06-26 15:13:18 +0000 |
commit | c019c4e4982b271694a1b6b4dc1a5dbe01a0ed52 (patch) | |
tree | b7d498d2a16b3ea483847b169e055b37d731f546 | |
parent | 950025815dc62d0e473b4a0fc4a706fe9c9e88c4 (diff) |
cleanup include file. remove unneeded socket cleanup.
-rw-r--r-- | usr.sbin/ypldap/ypldap.c | 3 | ||||
-rw-r--r-- | usr.sbin/ypldap/ypldap.h | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/ypldap/ypldap.c b/usr.sbin/ypldap/ypldap.c index 7254e01ca41..436282ed3a6 100644 --- a/usr.sbin/ypldap/ypldap.c +++ b/usr.sbin/ypldap/ypldap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ypldap.c,v 1.1 2008/06/26 15:10:01 pyr Exp $ */ +/* $OpenBSD: ypldap.c,v 1.2 2008/06/26 15:13:17 pyr Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -113,7 +113,6 @@ main_sig_handler(int sig, short event, void *p) void main_shutdown(void) { - (void)unlink(_PATH_LDAPBIND_SOCK); _exit(0); } diff --git a/usr.sbin/ypldap/ypldap.h b/usr.sbin/ypldap/ypldap.h index ce772def31b..33c9b88ed2e 100644 --- a/usr.sbin/ypldap/ypldap.h +++ b/usr.sbin/ypldap/ypldap.h @@ -14,10 +14,9 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#define YPLDAP_USER "_ospfd" +#define YPLDAP_USER "_ypldap" #define YPLDAP_CONF_FILE "/etc/ypldap.conf" #define DEFAULT_INTERVAL 600 -#define _PATH_LDAPBIND_SOCK "/var/run/ypldap.sock" #define LINE_WIDTH 1024 #define FILTER_WIDTH 128 #define ATTR_WIDTH 32 |