ws2_32: return an error in SO_CONNECT_TIME stub

Dmitry Timoshkov dmitry at codeweavers.com
Sun Mar 27 23:41:19 CDT 2011


Austin English <austinenglish at gmail.com> wrote:

> @@ -2554,7 +2554,7 @@ INT WINAPI WS_getsockopt(SOCKET s, INT level,
>              }
>              *(DWORD*)optval = pretendtime++;
>              *optlen = sizeof(DWORD);
> -            return ret;
> +            return SOCKET_ERROR;
>          }

Filling out optval and optlen but returning SOCKET_ERROR doesn't make
sense. Probably Eye-Fi doesn't change the return value. What kind of
socket both of the applications do pass?

-- 
Dmitry.



More information about the wine-devel mailing list