summaryrefslogtreecommitdiff
path: root/usr.bin/ldap/ldapclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/ldap/ldapclient.c')
-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);