Don't name local variable errno.

This commit is contained in:
Marcus Sundberg 2000-01-07 01:17:05 +00:00
parent 39b2b2c3b9
commit a5a502ff97

View file

@ -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);
if (ret == -1)
{
int errno = pWSAGetLastError();
int err = pWSAGetLastError();
if (errno == WSAEWOULDBLOCK || errno == WSAECONNREFUSED)
if (err == WSAEWOULDBLOCK || err == WSAECONNREFUSED)
return 0;
}