diff options
author | Damien Miller <djm@mindrot.org> | 2006-03-26 14:04:36 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-03-26 14:04:36 +1100 |
commit | 71a73671305a2248a6c4a243134ebf28f7d8ee7a (patch) | |
tree | c81a7c7ae47bfc385a42cf4f86a9df3af7eeda3e /ssh.c | |
parent | 6d39bcf898f2cf296333590330a2d945f2f123a4 (diff) |
- deraadt@cvs.openbsd.org 2006/03/20 18:14:02
[channels.c clientloop.c monitor_wrap.c monitor_wrap.h serverloop.c]
[ssh.c sshpty.c sshpty.h]
sprinkle u_int throughout pty subsystem, ok markus
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -889,10 +889,10 @@ ssh_session(void) | |||
889 | /* Store window size in the packet. */ | 889 | /* Store window size in the packet. */ |
890 | if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) < 0) | 890 | if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) < 0) |
891 | memset(&ws, 0, sizeof(ws)); | 891 | memset(&ws, 0, sizeof(ws)); |
892 | packet_put_int(ws.ws_row); | 892 | packet_put_int((u_int)ws.ws_row); |
893 | packet_put_int(ws.ws_col); | 893 | packet_put_int((u_int)ws.ws_col); |
894 | packet_put_int(ws.ws_xpixel); | 894 | packet_put_int((u_int)ws.ws_xpixel); |
895 | packet_put_int(ws.ws_ypixel); | 895 | packet_put_int((u_int)ws.ws_ypixel); |
896 | 896 | ||
897 | /* Store tty modes in the packet. */ | 897 | /* Store tty modes in the packet. */ |
898 | tty_make_modes(fileno(stdin), NULL); | 898 | tty_make_modes(fileno(stdin), NULL); |