summaryrefslogtreecommitdiff
path: root/src/process.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-03-25 03:52:53 +0000
committerRichard M. Stallman <rms@gnu.org>1997-03-25 03:52:53 +0000
commit59f23005cfdbf88dfa0897c7e18ded2dec0970d2 (patch)
tree780683799193e219f9f053038b64d62cccb59869 /src/process.c
parent43e34a410df76a1512e74821cd88d521bd17dcde (diff)
(Fopen_network_stream): Use same socket for in and out.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c4
1 files changed, 1 insertions, 3 deletions
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);