changeset 32341:924ecf698ac3

(Fopen_network_stream) [HAVE_GETADDRINFO]: Reset S to -1 after socket is closed, to fall through to error processing.
author Andreas Schwab <schwab@suse.de>
date Mon, 09 Oct 2000 20:01:10 +0000
parents 97bfc5c6e1c1
children 357b0831cf07
files src/process.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Mon Oct 09 17:56:11 2000 +0000
+++ b/src/process.c	Mon Oct 09 20:01:10 2000 +0000
@@ -1897,6 +1897,7 @@
       count1 = specpdl_ptr - specpdl;
       
       emacs_close (s);
+      s = -1;
     }
 
   freeaddrinfo (res);