From a5a502ff9736fd90299188f5aa22fbea961c2170 Mon Sep 17 00:00:00 2001 From: Marcus Sundberg Date: Fri, 7 Jan 2000 01:17:05 +0000 Subject: [PATCH] Don't name local variable errno. --- uquake/net_wins.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uquake/net_wins.c b/uquake/net_wins.c index 11e306a..33ef474 100644 --- a/uquake/net_wins.c +++ b/uquake/net_wins.c @@ -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; }