From 836626f1b0cad85d2e1c51380bcc9cae057f08ac Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 13 Oct 2021 23:39:36 +0200 Subject: fixup a missing if(result) --- lib/c-hyper.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/c-hyper.c b/lib/c-hyper.c index 1aba79f16..bc3f82135 100644 --- a/lib/c-hyper.c +++ b/lib/c-hyper.c @@ -967,7 +967,8 @@ CURLcode Curl_http(struct Curl_easy *data, bool *done) if(!h2) { if(data->state.aptr.host) { result = Curl_hyper_header(data, headers, data->state.aptr.host); - goto error; + if(result) + goto error; } } else { -- cgit v1.2.1