1
0
Fork 0
forked from fte/fteqw

Fixed some warnings related to errors.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3392 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2009-10-06 00:39:35 +00:00
parent e0edbe444d
commit aadd51a94c

View file

@ -2281,12 +2281,12 @@ int MVD_StreamStartListening(int port)
if ((sock = socket (PF_INET, SOCK_STREAM, IPPROTO_TCP)) == INVALID_SOCKET)
{
Sys_Error ("MVD_StreamStartListening: socket:", strerror(qerrno));
Sys_Error ("MVD_StreamStartListening: socket: %s", strerror(qerrno));
}
if (ioctlsocket (sock, FIONBIO, &nonblocking) == INVALID_SOCKET)
{
Sys_Error ("FTP_TCP_OpenSocket: ioctl FIONBIO:", strerror(qerrno));
Sys_Error ("FTP_TCP_OpenSocket: ioctl FIONBIO: %s", strerror(qerrno));
}
if( bind (sock, (void *)&address, sizeof(address)) == INVALID_SOCKET)