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 <neal@g10code.com>
This commit is contained in:
Neal H. Walfield 2015-03-31 12:07:39 +02:00
parent 44297d0821
commit 7f6d7948c1
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}