From: Andreas Schwab Date: Mon, 9 Oct 2000 20:01:10 +0000 (+0000) Subject: (Fopen_network_stream) [HAVE_GETADDRINFO]: Reset S to X-Git-Tag: emacs-pretest-21.0.90~998 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3316160629cc0626614f28aea2e045d4979bf5c8;p=emacs.git (Fopen_network_stream) [HAVE_GETADDRINFO]: Reset S to -1 after socket is closed, to fall through to error processing. --- diff --git a/src/process.c b/src/process.c index a4845c99d58..48c960f9a43 100644 --- a/src/process.c +++ b/src/process.c @@ -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);