diff options
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: session.c,v 1.258 2010/11/25 04:10:09 djm Exp $ */ | 1 | /* $OpenBSD: session.c,v 1.259 2011/10/24 02:13:13 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 3 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
4 | * All rights reserved | 4 | * All rights reserved |
@@ -2166,7 +2166,7 @@ session_break_req(Session *s) | |||
2166 | packet_get_int(); /* ignored */ | 2166 | packet_get_int(); /* ignored */ |
2167 | packet_check_eom(); | 2167 | packet_check_eom(); |
2168 | 2168 | ||
2169 | if (s->ttyfd == -1 || tcsendbreak(s->ttyfd, 0) < 0) | 2169 | if (s->ptymaster == -1 || tcsendbreak(s->ptymaster, 0) < 0) |
2170 | return 0; | 2170 | return 0; |
2171 | return 1; | 2171 | return 1; |
2172 | } | 2172 | } |