(Fopen_network_stream): Use same socket for in and out.
authorRichard M. Stallman <rms@gnu.org>
Tue, 25 Mar 1997 03:52:53 +0000 (03:52 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 25 Mar 1997 03:52:53 +0000 (03:52 +0000)
src/process.c

index 1d4fa70..0f8e182 100644 (file)
@@ -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);