mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-25 05:11:23 +00:00
Don't name local variable errno.
This commit is contained in:
parent
39b2b2c3b9
commit
a5a502ff97
1 changed files with 2 additions and 2 deletions
|
@ -402,9 +402,9 @@ int WINS_Read (int socket, byte *buf, int len, struct qsockaddr *addr)
|
||||||
ret = precvfrom (socket, buf, len, 0, (struct sockaddr *)addr, &addrlen);
|
ret = precvfrom (socket, buf, len, 0, (struct sockaddr *)addr, &addrlen);
|
||||||
if (ret == -1)
|
if (ret == -1)
|
||||||
{
|
{
|
||||||
int errno = pWSAGetLastError();
|
int err = pWSAGetLastError();
|
||||||
|
|
||||||
if (errno == WSAEWOULDBLOCK || errno == WSAECONNREFUSED)
|
if (err == WSAEWOULDBLOCK || err == WSAECONNREFUSED)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue