summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'session.c')
-rw-r--r--session.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/session.c b/session.c
index 325b1753a..69d925eff 100644
--- a/session.c
+++ b/session.c
@@ -1696,7 +1696,6 @@ session_break_req(Session *s)
1696 break_length = packet_get_int(); 1696 break_length = packet_get_int();
1697 packet_check_eom(); 1697 packet_check_eom();
1698 1698
1699#if defined(TIOCSBRK) && defined(TIOCCBRK)
1700 if (s->ttyfd == -1) 1699 if (s->ttyfd == -1)
1701 return 0; 1700 return 0;
1702 /* we will sleep from 500ms to 3000ms */ 1701 /* we will sleep from 500ms to 3000ms */
@@ -1707,9 +1706,6 @@ session_break_req(Session *s)
1707 usleep(break_length * 1000); 1706 usleep(break_length * 1000);
1708 ioctl(s->ttyfd, TIOCCBRK, NULL); 1707 ioctl(s->ttyfd, TIOCCBRK, NULL);
1709 return 1; 1708 return 1;
1710#else
1711 return 0;
1712#endif
1713} 1709}
1714 1710
1715static int 1711static int