View | Details | Raw Unified | Return to bug 1859
Collapse All | Expand All

(-)session.c (-2 / +1 lines)
Lines 1804-1814 session_exec_req(Session *s) Link Here
1804
static int
1804
static int
1805
session_break_req(Session *s)
1805
session_break_req(Session *s)
1806
{
1806
{
1807
1808
	packet_get_int();	/* ignored */
1807
	packet_get_int();	/* ignored */
1809
	packet_check_eom();
1808
	packet_check_eom();
1810
1809
1811
	if (s->ttyfd == -1 || tcsendbreak(s->ttyfd, 0) < 0)
1810
	if (s->ptyfd == -1 || tcsendbreak(s->ptyfd, 0) < 0)
1812
		return 0;
1811
		return 0;
1813
	return 1;
1812
	return 1;
1814
}
1813
}

Return to bug 1859