(Fopen_network_stream) [HAVE_GETADDRINFO]: Reset S to
-1 after socket is closed, to fall through to error processing.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user