]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
ngtcp2: fix typo in preprocessor condition
authorViktor Szakats <commit@vsz.me>
Fri, 10 Jun 2022 23:07:15 +0000 (23:07 +0000)
committerViktor Szakats <commit@vsz.me>
Fri, 10 Jun 2022 23:07:15 +0000 (23:07 +0000)
Ref: 927ede7edcb7b05b8e8bbf9ced6aed523ae594a7

Bug: https://github.com/curl/curl/pull/8981#discussion_r894312185
Reported-by: Emil Engler
Closes #8987

lib/vquic/ngtcp2.c

index 60912044a1c3c90cac0bd80a58b7d09cec0e552e..b5a59efb50d120a429d0a7e86fc2c305b4c2d068 100644 (file)
@@ -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;