From dd940769478df4838c51a90e1c3ed28a4d993788 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 10 Jun 2022 23:07:15 +0000 Subject: [PATCH] ngtcp2: fix typo in preprocessor condition Ref: 927ede7edcb7b05b8e8bbf9ced6aed523ae594a7 Bug: https://github.com/curl/curl/pull/8981#discussion_r894312185 Reported-by: Emil Engler Closes #8987 --- lib/vquic/ngtcp2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vquic/ngtcp2.c b/lib/vquic/ngtcp2.c index 60912044a1..b5a59efb50 100644 --- a/lib/vquic/ngtcp2.c +++ b/lib/vquic/ngtcp2.c @@ -728,7 +728,7 @@ CURLcode Curl_quic_connect(struct Curl_easy *data, ngtcp2_connection_close_error_default(&qs->last_error); -#if defined(__linux__) && defined(UDP_SEGMENT) & defined(HAVE_SENDMSG) +#if defined(__linux__) && defined(UDP_SEGMENT) && defined(HAVE_SENDMSG) qs->no_gso = FALSE; #else qs->no_gso = TRUE; -- 2.47.3