Mercurial > dropbear
diff packet.c @ 926:b8208506322e
Use AUTH_TIMEOUT only before authdone != 1.
While at it, fix a few indentations and typo.
author | Yousong Zhou <yszhou4tech@gmail.com> |
---|---|
date | Thu, 13 Mar 2014 16:28:16 +0800 |
parents | 4696755c4cac |
children | 7cd89d4e0335 |
line wrap: on
line diff
--- a/packet.c Sat Mar 08 21:00:57 2014 +0800 +++ b/packet.c Thu Mar 13 16:28:16 2014 +0800 @@ -87,12 +87,12 @@ if (written < 0) { if (errno == EINTR) { m_free(iov); - TRACE2(("leave writepacket: EINTR")) + TRACE2(("leave write_packet: EINTR")) return; } else { dropbear_exit("Error writing"); } - } + } if (written == 0) { ses.remoteclosed();