[PATCH 2/2] dpwsockx: Implementation of Open callback

Vitaliy Margolen wine-devel at kievinfo.com
Sun Sep 13 16:46:02 CDT 2009


Forgot this part:
> Ismael Barros wrote:
> +static DWORD WINAPI tcp_listener_thread( LPVOID lpParameter )
> +{
> +    for ( ;; )
> +    {
> +        if ( clientSock == INVALID_SOCKET )
> +        {
> +            goto end;
> +        }
> +    }
> +
> +end:
> +}
It's more cleaner to use "break;" instead of goto to exit the loop.

Vitaliy.



More information about the wine-devel mailing list