From: Viktor Szakats Date: Fri, 10 Jun 2022 23:07:15 +0000 (+0000) Subject: ngtcp2: fix typo in preprocessor condition X-Git-Tag: curl-7_84_0~58 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dd940769478df4838c51a90e1c3ed28a4d993788;p=thirdparty%2Fcurl.git ngtcp2: fix typo in preprocessor condition Ref: 927ede7edcb7b05b8e8bbf9ced6aed523ae594a7 Bug: https://github.com/curl/curl/pull/8981#discussion_r894312185 Reported-by: Emil Engler Closes #8987 --- 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;