diff options
author | Werner Koch <[email protected]> | 2006-09-06 11:53:24 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2006-09-06 11:53:24 +0000 |
commit | 7b9fa9da99e5e8dd26219a3c501994deee4b794c (patch) | |
tree | 6d30a1b2941bd5d28ebb0294915660b0f1881002 /common/http.c | |
parent | Missing file (diff) | |
download | gnupg-7b9fa9da99e5e8dd26219a3c501994deee4b794c.tar.gz gnupg-7b9fa9da99e5e8dd26219a3c501994deee4b794c.zip |
Minor changes and typo fixes.
Diffstat (limited to 'common/http.c')
-rw-r--r-- | common/http.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/http.c b/common/http.c index 31f65b6cd..83b6216cc 100644 --- a/common/http.c +++ b/common/http.c @@ -872,7 +872,9 @@ send_request (http_t hd, const char *auth, const char *proxy) if (hd->sock == -1) { xfree (proxy_authstr); - return gpg_error_from_errno (save_errno); + return (save_errno + ? gpg_error_from_errno (save_errno) + : gpg_error (GPG_ERR_NOT_FOUND)); } #ifdef HTTP_USE_GNUTLS |