diff options
author | Neal H. Walfield <[email protected]> | 2015-03-31 10:07:39 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2015-03-31 10:07:39 +0000 |
commit | 7f6d7948c1e56e09c1bdaa5143e1b5558c4376dd (patch) | |
tree | b694a6d37d81d809def0ca2780030afe66da986e | |
parent | gpg: Remove gratuitous extern qualifier from declaration. (diff) | |
download | gnupg-7f6d7948c1e56e09c1bdaa5143e1b5558c4376dd.tar.gz gnupg-7f6d7948c1e56e09c1bdaa5143e1b5558c4376dd.zip |
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 <[email protected]>
-rw-r--r-- | dirmngr/ldap-parse-uri.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |