[Mit-cadr-cvs] r383 - trunk/emulator/usim
ggilley at common-lisp.net
ggilley at common-lisp.net
Sat Dec 1 19:32:55 UTC 2012
Author: ggilley
Date: Sat Dec 1 11:32:54 2012
New Revision: 383
Log:
get compiling on ubuntu
Modified:
trunk/emulator/usim/chaos.c
Modified: trunk/emulator/usim/chaos.c
==============================================================================
--- trunk/emulator/usim/chaos.c Sat Dec 1 11:23:19 2012 (r382)
+++ trunk/emulator/usim/chaos.c Sat Dec 1 11:32:54 2012 (r383)
@@ -713,11 +713,11 @@
ts.tv_sec += 5;
if (pthread_cond_timedwait(&conn->twcond, &conn->twsem, &ts))
{
- if (lastpacket)
+ if (conn->lastpacket)
{
printf("re-transmit last packet\n");
- chaos_packet *retransmit = lastpacket;
- lastpacket = 0;
+ chaos_packet *retransmit = conn->lastpacket;
+ conn->lastpacket = 0;
chaos_queue(retransmit);
}
}
More information about the mit-cadr-cvs
mailing list