From 7f6d7948c1e56e09c1bdaa5143e1b5558c4376dd Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Tue, 31 Mar 2015 12:07:39 +0200 Subject: [PATCH] dirmngr: Use a better error code. * dirmngr/ldap-parse-uri.c (ldap_parse_uri): On error, return GPG_ERR_GENERAL, not GPG_ERR_ASS_GENERAL. -- Signed-off-by: Neal H. Walfield --- dirmngr/ldap-parse-uri.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dirmngr/ldap-parse-uri.c b/dirmngr/ldap-parse-uri.c index 9a6d6199a..62f8f6d4e 100644 --- a/dirmngr/ldap-parse-uri.c +++ b/dirmngr/ldap-parse-uri.c @@ -94,7 +94,7 @@ ldap_parse_uri (parsed_uri_t *purip, const char *uri) if (result != 0) { log_error ("Unable to parse LDAP uri '%s'\n", uri); - err = GPG_ERR_ASS_GENERAL; + err = GPG_ERR_GENERAL; goto out; }