diff options
author | Yousong Zhou <yszhou4tech@gmail.com> | 2014-03-13 16:28:16 +0800 |
---|---|---|
committer | Yousong Zhou <yszhou4tech@gmail.com> | 2014-03-13 16:28:16 +0800 |
commit | 5baa10a6b6f074acdbff8988773530ce66485092 (patch) | |
tree | 58865886f27bd8998e9f8881230efc917cb90f77 /packet.c | |
parent | 3e1a389629935fe179d194657730a4502a6f99f6 (diff) |
Use AUTH_TIMEOUT only before authdone != 1.
While at it, fix a few indentations and typo.
Diffstat (limited to 'packet.c')
-rw-r--r-- | packet.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -87,12 +87,12 @@ void write_packet() { 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(); |