summaryrefslogtreecommitdiff
path: root/ttymodes.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-11-25 11:54:57 +1100
committerDamien Miller <djm@mindrot.org>1999-11-25 11:54:57 +1100
commit5428f646ad32da88ddd04a8c287d595524674fbf (patch)
treecc1f1e5d7852e1f44d41077f776abf7dab7ac06d /ttymodes.c
parent9072e1889648988da38b7b81bce95291c1dc3a23 (diff)
- More reformatting merged from OpenBSD CVS
- Merged OpenBSD CVS changes: - [channels.c] report from mrwizard@psu.edu via djm@ibs.com.au - [channels.c] set SO_REUSEADDR and SO_LINGER for forwarded ports. chip@valinux.com via damien@ibs.com.au - [nchan.c] it's not an error() if shutdown_write failes in nchan. - [readconf.c] remove dead #ifdef-0-code - [readconf.c servconf.c] strcasecmp instead of tolower - [scp.c] progress meter overflow fix from damien@ibs.com.au - [ssh-add.1 ssh-add.c] SSH_ASKPASS support - [ssh.1 ssh.c] postpone fork_after_authentication until command execution, request/patch from jahakala@cc.jyu.fi via damien@ibs.com.au plus: use daemon() for backgrounding
Diffstat (limited to 'ttymodes.c')
-rw-r--r--ttymodes.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ttymodes.c b/ttymodes.c
index 6810ce26c..fffc6d5bf 100644
--- a/ttymodes.c
+++ b/ttymodes.c
@@ -10,7 +10,7 @@
10 */ 10 */
11 11
12#include "includes.h" 12#include "includes.h"
13RCSID("$Id: ttymodes.c,v 1.2 1999/11/24 13:26:23 damien Exp $"); 13RCSID("$Id: ttymodes.c,v 1.3 1999/11/25 00:54:59 damien Exp $");
14 14
15#include "packet.h" 15#include "packet.h"
16#include "ssh.h" 16#include "ssh.h"
@@ -209,7 +209,6 @@ tty_make_modes(int fd)
209 struct termios tio; 209 struct termios tio;
210 int baud; 210 int baud;
211 211
212 /* Get the modes. */
213 if (tcgetattr(fd, &tio) < 0) { 212 if (tcgetattr(fd, &tio) < 0) {
214 packet_put_char(TTY_OP_END); 213 packet_put_char(TTY_OP_END);
215 log("tcgetattr: %.100s", strerror(errno)); 214 log("tcgetattr: %.100s", strerror(errno));