Skip to content

Commit

Permalink
fix windows build with sshd
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobBarthelmeh committed Feb 2, 2024
1 parent 53a82e7 commit 8ce9d16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/wolfsshd/wolfsshd.c
Original file line number Diff line number Diff line change
Expand Up @@ -904,8 +904,8 @@ static int SHELL_Subsystem(WOLFSSHD_CONNECTION* conn, WOLFSSH* ssh,
CreatePipe(&cnslIn, &ptyIn, NULL, 0);
CreatePipe(&ptyOut, &cnslOut, NULL, 0);

cord.X = ssh->curX;
cord.Y = ssh->curY;
cord.X = ssh->widthChar;
cord.Y = ssh->heightRows;

/* Sanity check on cord values, if 0 than assume was not set.
* (can happen with exec and not req-pty message)
Expand Down

0 comments on commit 8ce9d16

Please sign in to comment.