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:
parent
e0edbe444d
commit
aadd51a94c
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue