# HG changeset patch # User gongo # Date 1163061256 0 # Node ID 3ab2b0980fba5f89f947a0fb35eb1eb00805c852 # Parent 376bac6b05f1473a566079500d9efad52ebe2a1c *** empty log message *** diff -r 376bac6b05f1 -r 3ab2b0980fba linda.c --- a/linda.c Thu Nov 09 08:28:48 2006 +0000 +++ b/linda.c Thu Nov 09 08:34:16 2006 +0000 @@ -78,7 +78,11 @@ if (data) len += sizeof(FMATRIX); //reply = psx_reply(linda_seq[dest]) - if (linda_seq[dest] == 0 || (reply = psx_reply(linda_seq[dest]))) { + if (linda_seq[dest] == 0) { + pkt = make_packet(mode, car, course, data); + psx_out(dest, pkt, len); + free(pkt); + } else if (reply = psx_reply(linda_seq[dest])) { pkt = make_packet(mode, car, course, data); psx_out(dest, pkt, len); free(pkt);