summaryrefslogtreecommitdiffhomepage
path: root/packet.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2008-11-07 14:11:06 +0000
committerMatt Johnston <matt@ucc.asn.au>2008-11-07 14:11:06 +0000
commitadc4d0194f4c9348cdd331e80deb2b3401a29877 (patch)
tree38e0293d99f7872849e1ec4b173d631173fbc786 /packet.c
parente80f8e8c09dab7cece30660a33e2a2bfd5d5f571 (diff)
Idle timeout patch from Farrell Aultman. Needs testing, unsure if server
code works --HG-- extra : convert_revision : ff66e05ae040561110af70114bf83f11ed528f05
Diffstat (limited to 'packet.c')
-rw-r--r--packet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/packet.c b/packet.c
index e00be65..870d5d8 100644
--- a/packet.c
+++ b/packet.c
@@ -72,6 +72,7 @@ void write_packet() {
}
}
+ ses.last_trx_packet_time = time(NULL);
ses.last_packet_time = time(NULL);
if (written == 0) {