artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
191a762
)
log_warn -> log_warnx since the warning printed uses tls_error()
author
claudio
<claudio@openbsd.org>
Sun, 19 Dec 2021 12:19:31 +0000
(12:19 +0000)
committer
claudio
<claudio@openbsd.org>
Sun, 19 Dec 2021 12:19:31 +0000
(12:19 +0000)
and therefor printing the errno as well makes no sense.
usr.sbin/ldapd/ldape.c
patch
|
blob
|
history
diff --git
a/usr.sbin/ldapd/ldape.c
b/usr.sbin/ldapd/ldape.c
index
6a6c8f1
..
a7882f4
100644
(file)
--- a/
usr.sbin/ldapd/ldape.c
+++ b/
usr.sbin/ldapd/ldape.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: ldape.c,v 1.3
5 2021/12/15 04:00:15 deraadt
Exp $ */
+/* $OpenBSD: ldape.c,v 1.3
6 2021/12/19 12:19:31 claudio
Exp $ */
/*
* Copyright (c) 2009, 2010 Martin Hedenfalk <martin@bzero.se>
@@
-432,7
+432,7
@@
ldape(int debug, int verbose, char *csockpath)
fatal("ldape: couldn't allocate tls context");
if (tls_configure(l->tls, l->ssl->config)) {
- log_warn("ldape: %s", tls_error(l->tls));
+ log_warn
x
("ldape: %s", tls_error(l->tls));
fatal("ldape: couldn't configure tls");
}
}