(Fopen_network_stream): Use same socket for in and out.

This commit is contained in:
Richard M. Stallman 1997-03-25 03:52:53 +00:00
parent 43e34a410d
commit 59f23005cf

View 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);