summaryrefslogtreecommitdiff
path: root/usr.bin/ldap
diff options
context:
space:
mode:
authorMartijn van Duren <martijn@cvs.openbsd.org>2018-11-07 13:58:52 +0000
committerMartijn van Duren <martijn@cvs.openbsd.org>2018-11-07 13:58:52 +0000
commitc94f00deeb479fe51307f21b59c707e43fd1c4d0 (patch)
tree07082f9c41d5d10472f82a166e4fa2cf9e52ca6f /usr.bin/ldap
parent11f80fe7f1a4f881a1b1fa9431d170beb4e05fa0 (diff)
RFC2849 requires us to have 2 colons after the value-spec.
OK claudio@
Diffstat (limited to 'usr.bin/ldap')
-rw-r--r--usr.bin/ldap/ldapclient.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ldap/ldapclient.c b/usr.bin/ldap/ldapclient.c
index 520893e122c..73248dab930 100644
--- a/usr.bin/ldap/ldapclient.c
+++ b/usr.bin/ldap/ldapclient.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldapclient.c,v 1.8 2018/11/06 20:38:42 jsing Exp $ */
+/* $OpenBSD: ldapclient.c,v 1.9 2018/11/07 13:58:51 martijn Exp $ */
/*
* Copyright (c) 2018 Reyk Floeter <reyk@openbsd.org>
@@ -435,7 +435,7 @@ ldapc_printattr(struct ldapc *ldap, const char *key, const char *value)
}
/* Base64 is indicated with a double-colon */
- if (asprintf(&p, "%s: %s", key, out) == -1) {
+ if (asprintf(&p, "%s:: %s", key, out) == -1) {
log_warnx("asprintf");
free(out);
return (-1);