diff options
Diffstat (limited to 'keyserver/curl-shim.c')
-rw-r--r-- | keyserver/curl-shim.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/keyserver/curl-shim.c b/keyserver/curl-shim.c index 500d9f562..696efe2c7 100644 --- a/keyserver/curl-shim.c +++ b/keyserver/curl-shim.c @@ -198,7 +198,7 @@ curl_easy_perform(CURL *curl) if(curl->flags.post) { - rc = http_open (&curl->hd, HTTP_REQ_POST, curl->url, curl->auth, + rc = http_open (&curl->hd, HTTP_REQ_POST, curl->url, NULL, curl->auth, 0, proxy, NULL, curl->srvtag, curl->headers?curl->headers->list:NULL); if (!rc) @@ -222,7 +222,7 @@ curl_easy_perform(CURL *curl) } else { - rc = http_open (&curl->hd, HTTP_REQ_GET, curl->url, curl->auth, + rc = http_open (&curl->hd, HTTP_REQ_GET, curl->url, NULL, curl->auth, 0, proxy, NULL, curl->srvtag, curl->headers?curl->headers->list:NULL); if (!rc) @@ -282,7 +282,7 @@ curl_easy_perform(CURL *curl) err=CURLE_COULDNT_CONNECT; break; } - + return handle_error(curl,err,errstr); } |