mirror of
https://repo.or.cz/socat.git
synced 2025-07-15 23:53:25 +00:00
Fixed the end-close option, it just did not work
This commit is contained in:
parent
e610b14470
commit
d605ab57f5
18 changed files with 66 additions and 30 deletions
|
@ -75,7 +75,8 @@ static int xioopen_readline(
|
|||
Notice(msgbuf);
|
||||
|
||||
xfd->stream.fd = 0; /* stdin */
|
||||
xfd->stream.howtoend = END_NONE;
|
||||
if (sfd->howtoend == END_UNSPEC)
|
||||
xfd->stream.howtoend = END_NONE;
|
||||
xfd->stream.dtype = XIODATA_READLINE;
|
||||
|
||||
#if WITH_TERMIOS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue