summaryrefslogtreecommitdiffhomepage
path: root/process-packet.c
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2014-03-13 16:28:16 +0800
committerYousong Zhou <yszhou4tech@gmail.com>2014-03-13 16:28:16 +0800
commit5baa10a6b6f074acdbff8988773530ce66485092 (patch)
tree58865886f27bd8998e9f8881230efc917cb90f77 /process-packet.c
parent3e1a389629935fe179d194657730a4502a6f99f6 (diff)
Use AUTH_TIMEOUT only before authdone != 1.
While at it, fix a few indentations and typo.
Diffstat (limited to 'process-packet.c')
-rw-r--r--process-packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/process-packet.c b/process-packet.c
index 1c2ca7b..3659cc0 100644
--- a/process-packet.c
+++ b/process-packet.c
@@ -52,7 +52,7 @@ void process_packet() {
ses.lastpacket = type;
- ses.last_packet_time = time(NULL);
+ ses.last_packet_time = time(NULL);
/* These packets we can receive at any time */
switch(type) {