Don't use tcdrain() in patty_kiss_frame_send()
Don't use tcdrain() in patty_kiss_frame_send(), as this may cause a program to block indefinitely on BSD systems
This commit is contained in:
parent
e558ccd57d
commit
1493f913a7
1 changed files with 0 additions and 4 deletions
|
@ -114,10 +114,6 @@ ssize_t patty_kiss_frame_send(int fd,
|
||||||
goto error_io;
|
goto error_io;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tcdrain(fd) < 0) {
|
|
||||||
goto error_io;
|
|
||||||
}
|
|
||||||
|
|
||||||
return len;
|
return len;
|
||||||
|
|
||||||
error_io:
|
error_io:
|
||||||
|
|
Loading…
Add table
Reference in a new issue