From: Oto Šťáva Date: Mon, 20 May 2024 15:50:00 +0000 (+0200) Subject: daemon/http: fix typo X-Git-Tag: v6.0.8~14^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9468c57ecec56694c4b7a64471e61e0f624e1e89;p=thirdparty%2Fknot-resolver.git daemon/http: fix typo A missing `protolayer_break()`. C's typechecking failed me. --- diff --git a/daemon/http.c b/daemon/http.c index 7d1f0899c..425b81c87 100644 --- a/daemon/http.c +++ b/daemon/http.c @@ -969,7 +969,7 @@ static enum protolayer_iter_cb_result pl_http_unwrap( if (ret < 0) { kr_log_debug(DOH, "[%p] nghttp2_session_send failed: %s (%zd)\n", (void *)http->h2, nghttp2_strerror(ret), ret); - return kr_error(EIO); + return protolayer_break(ctx, kr_error(EIO)); } if (!http_status_has_category(http->status, 2)) {