changeset 17247:351006378b51

(Fopen_network_stream): Use same socket for in and out.
author Richard M. Stallman <rms@gnu.org>
date Tue, 25 Mar 1997 03:52:53 +0000
parents 7f37ef17af0f
children cf25d78ebd75
files src/process.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Tue Mar 25 03:49:38 1997 +0000
+++ b/src/process.c	Tue Mar 25 03:52:53 1997 +0000
@@ -1855,9 +1855,7 @@
 #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);