comparison process-packet.c @ 751:685d05f1cc5c

Just put the version string on the queue, don't use atomicio
author Matt Johnston <matt@ucc.asn.au>
date Wed, 03 Apr 2013 19:23:53 +0800
parents 9a5438271556
children 2f1c199b6e4b
comparison
equal deleted inserted replaced
750:a813e2752fdb 751:685d05f1cc5c
46 unsigned int i; 46 unsigned int i;
47 47
48 TRACE2(("enter process_packet")) 48 TRACE2(("enter process_packet"))
49 49
50 type = buf_getbyte(ses.payload); 50 type = buf_getbyte(ses.payload);
51 TRACE(("process_packet: packet type = %d", type)) 51 TRACE(("process_packet: packet type = %d, len %d", type, ses.payload->len))
52 52
53 ses.lastpacket = type; 53 ses.lastpacket = type;
54 54
55 ses.last_packet_time = time(NULL); 55 ses.last_packet_time = time(NULL);
56 56