]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fopen_network_stream) [HAVE_GETADDRINFO]: Reset S to
authorAndreas Schwab <schwab@suse.de>
Mon, 9 Oct 2000 20:01:10 +0000 (20:01 +0000)
committerAndreas Schwab <schwab@suse.de>
Mon, 9 Oct 2000 20:01:10 +0000 (20:01 +0000)
-1 after socket is closed, to fall through to error processing.

src/process.c

index a4845c99d5874eb94a437dfd8412a14c68fdc90c..48c960f9a43f841a58d5ef781b7e2c469c457212 100644 (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);