mirror of
https://repo.or.cz/socat.git
synced 2025-07-15 23:53:25 +00:00
A couple of minor corrections
This commit is contained in:
parent
8f27dd268c
commit
47bb8fff64
5 changed files with 101 additions and 63 deletions
|
@ -102,6 +102,8 @@ static int xioopen_pty(
|
|||
if (applyopts_single(sfd, opts, PH_INIT) < 0) return -1;
|
||||
applyopts2(sfd, -1, opts, PH_INIT, PH_EARLY);
|
||||
|
||||
applyopts(sfd, -1, opts, PH_PREBIGEN);
|
||||
|
||||
#if HAVE_OPENPTY
|
||||
if (ptyfd < 0) {
|
||||
int result;
|
||||
|
@ -114,8 +116,6 @@ static int xioopen_pty(
|
|||
}
|
||||
#endif /* HAVE_OPENPTY */
|
||||
|
||||
applyopts(sfd, -1, opts, PH_PREBIGEN);
|
||||
|
||||
#if defined(HAVE_DEV_PTMX)
|
||||
# define PTMX "/dev/ptmx" /* Linux */
|
||||
#elif HAVE_DEV_PTC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue