From 0e2f2446b8b91184bcaa92760d77a06c2c97fcc2 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Mon, 18 Apr 2016 15:12:05 -0600 Subject: * Fix an error where the string "ldap " instead of "ldap" was being used to form a URL. Reported and fixed by Wang Kang. --- pith/ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pith') diff --git a/pith/ldap.c b/pith/ldap.c index 8bec9c06..09df8efd 100644 --- a/pith/ldap.c +++ b/pith/ldap.c @@ -527,7 +527,7 @@ ldap_lookup(LDAP_SERV_S *info, char *string, CUSTOM_FILT_S *cust, #endif /* SMIME_SSLCERTS */ snprintf(tmp_20k_buf, SIZEOF_20KBUF, "%s://%s:%d", - info->ldaps ? "ldaps" : "ldap ", serv, info->port); + info->ldaps ? "ldaps" : "ldap", serv, info->port); tmp_20k_buf[SIZEOF_20KBUF-1] = '\0'; if(ldap_initialize(&ld, tmp_20k_buf) != LDAP_SUCCESS) -- cgit v1.2.3-70-g09d2