aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Schwab2000-10-09 20:01:10 +0000
committerAndreas Schwab2000-10-09 20:01:10 +0000
commit3316160629cc0626614f28aea2e045d4979bf5c8 (patch)
tree383e6247e4c9c563430ab5215506dc75e73c1d58 /src
parentc2156508dfa1b52469eec287308695c5c6cb1220 (diff)
downloademacs-3316160629cc0626614f28aea2e045d4979bf5c8.tar.gz
emacs-3316160629cc0626614f28aea2e045d4979bf5c8.zip
(Fopen_network_stream) [HAVE_GETADDRINFO]: Reset S to
-1 after socket is closed, to fall through to error processing.
Diffstat (limited to 'src')
-rw-r--r--src/process.c1
1 files changed, 1 insertions, 0 deletions
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\
1897 count1 = specpdl_ptr - specpdl; 1897 count1 = specpdl_ptr - specpdl;
1898 1898
1899 emacs_close (s); 1899 emacs_close (s);
1900 s = -1;
1900 } 1901 }
1901 1902
1902 freeaddrinfo (res); 1903 freeaddrinfo (res);