1
0
mirror of https://github.com/moparisthebest/curl synced 2025-02-28 17:31:46 -05:00

sockfilt.c: follow up cleanup commit on 49b63cf3

This commit is contained in:
Marc Hoersken 2014-01-26 09:44:16 +01:00
parent 00787f94b2
commit 33f9c05082

View File

@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___ * | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____| * \___|\___/|_| \_\_____|
* *
* Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
* *
* This software is licensed as described in the file COPYING, which * This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms * you should have received as part of this distribution. The terms
@ -511,7 +511,7 @@ static void lograw(unsigned char *buffer, ssize_t len)
* http://msdn.microsoft.com/en-us/library/windows/desktop/ms687028.aspx * http://msdn.microsoft.com/en-us/library/windows/desktop/ms687028.aspx
* http://msdn.microsoft.com/en-us/library/windows/desktop/ms741572.aspx * http://msdn.microsoft.com/en-us/library/windows/desktop/ms741572.aspx
*/ */
DWORD WINAPI select_ws_stdin_wait_thread(LPVOID lpParameter) static DWORD WINAPI select_ws_stdin_wait_thread(LPVOID lpParameter)
{ {
HANDLE handle; HANDLE handle;
DWORD mode; DWORD mode;
@ -528,7 +528,7 @@ DWORD WINAPI select_ws_stdin_wait_thread(LPVOID lpParameter)
static int select_ws(int nfds, fd_set *readfds, fd_set *writefds, static int select_ws(int nfds, fd_set *readfds, fd_set *writefds,
fd_set *exceptfds, struct timeval *timeout) fd_set *exceptfds, struct timeval *timeout)
{ {
DWORD milliseconds, wait, idx, mode; DWORD milliseconds, wait, idx;
WSAEVENT wsaevent, *wsaevents; WSAEVENT wsaevent, *wsaevents;
WSANETWORKEVENTS wsanetevents; WSANETWORKEVENTS wsanetevents;
HANDLE handle, *handles; HANDLE handle, *handles;