changeset 44437:81e8a128e49f

(sys_accept): Don't hide variable `s'.
author Juanma Barranquero <lekktu@gmail.com>
date Mon, 08 Apr 2002 16:45:20 +0000
parents f9db51bb423b
children ab4f06787a92
files src/w32.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32.c	Mon Apr 08 13:38:48 2002 +0000
+++ b/src/w32.c	Mon Apr 08 16:45:20 2002 +0000
@@ -3022,9 +3022,9 @@
   check_errno ();
   if (fd_info[s].flags & FILE_SOCKET)
     {
-      SOCKET s = pfn_accept (SOCK_HANDLE (s), addr, addrlen);
-      if (s != INVALID_SOCKET)
-	return socket_to_fd (s);
+      SOCKET t = pfn_accept (SOCK_HANDLE (s), addr, addrlen);
+      if (t != INVALID_SOCKET)
+	return socket_to_fd (t);
 
       set_errno ();
       return -1;