From: Richard M. Stallman Date: Tue, 25 Mar 1997 03:52:53 +0000 (+0000) Subject: (Fopen_network_stream): Use same socket for in and out. X-Git-Tag: emacs-20.1~2698 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=59f23005cfdbf88dfa0897c7e18ded2dec0970d2;p=emacs.git (Fopen_network_stream): Use same socket for in and out. --- diff --git a/src/process.c b/src/process.c index 1d4fa70b52e..0f8e182cb8f 100644 --- a/src/process.c +++ b/src/process.c @@ -1855,9 +1855,7 @@ Fourth arg SERVICE is name of the service desired, or an integer\n\ #endif /* TERM */ inch = s; - outch = dup (s); - if (outch < 0) - report_file_error ("error duplicating socket", Fcons (name, Qnil)); + outch = s; if (!NILP (buffer)) buffer = Fget_buffer_create (buffer);