switch order

This commit is contained in:
Emanuel Krollmann 2026-07-27 16:59:29 +02:00 committed by GitHub
parent ff21929902
commit 50b4999ea6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -813,8 +813,7 @@ static int read_auth_val(curl_socket_t sock, uint64_t* buf)
curl_socket_t win32_stdin_read_thread(void)
{
int rc = 0;
static struct win_thread_data tdata =
(struct win_thread_data){ CURL_SOCKET_BAD, NULL };
static struct win_thread_data tdata = { NULL, CURL_SOCKET_BAD };
static HANDLE stdin_thread = NULL;
static curl_socket_t socket_r = CURL_SOCKET_BAD;
curl_socket_t socket_l = CURL_SOCKET_BAD;