ws2_32: Dont tell users to run Wine as root when sockets not creatable

Kai Blin kai.blin at gmail.com
Sun Jul 1 03:14:21 CDT 2007


On Saturday 30 June 2007 01:48:06 Ben Hodgetts (Enverex) wrote:

> diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
> index 90fa9b0..5984790 100644
> --- a/dlls/ws2_32/socket.c
> +++ b/dlls/ws2_32/socket.c
> @@ -3767,9 +3767,11 @@ SOCKET WINAPI WSASocketW(int af, int type, int
> protocol,
>      if (GetLastError() == WSAEACCES) /* raw socket denied */
>      {
>          if (type == SOCK_RAW)
> -            MESSAGE("WARNING: Trying to create a socket of type
> SOCK_RAW, will fail unless running as root\n");

Your mail client mangled the long lines. Please make sure to actually attach 
the patch before sending. git-format-patch does that when given the --attach 
parameter.

Cheers,
Kai

-- 
Kai Blin
WorldForge developer  http://www.worldforge.org/
Wine developer        http://wiki.winehq.org/KaiBlin
Samba team member     http://www.samba.org/samba/team/
--
Will code for cotton.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20070701/d4f3ebf8/attachment.pgp


More information about the wine-devel mailing list