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 | c68e790544f3fd7e5abaf500a3f09f0206514d79 (patch) | |
tree | b22938289064a2de51801b9a672023b04d9411ca /packet.c | |
parent | 739d388d6be24e7c4c7bd3c0e5bc3f3738c59975 (diff) | |
download | dropbear-c68e790544f3fd7e5abaf500a3f09f0206514d79.tar.gz |
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(); |