(Fopen_network_stream) [HAVE_GETADDRINFO]: Reset S to

-1 after socket is closed, to fall through to error processing.
This commit is contained in:
Andreas Schwab
2000-10-09 20:01:10 +00:00
parent c2156508df
commit 3316160629

View File

@@ -1897,6 +1897,7 @@ Fourth arg SERVICE is name of the service desired, or an integer\n\
count1 = specpdl_ptr - specpdl;
emacs_close (s);
s = -1;
}
freeaddrinfo (res);