/[pengfork]/pengfork/src/p3/out.c
ViewVC logotype

Diff of /pengfork/src/p3/out.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by chupa, Thu Sep 12 12:45:35 2002 UTC revision 1.3 by chupa, Sat Oct 19 12:11:59 2002 UTC
# Line 66  p3_put_packet (type, data, data_size) Line 66  p3_put_packet (type, data, data_size)
66    if (type == TYPE_DATA)    if (type == TYPE_DATA)
67      cli.lastseq = p3_next_seq (cli.lastseq);      cli.lastseq = p3_next_seq (cli.lastseq);
68    header->seq = cli.lastseq;    header->seq = cli.lastseq;
69    header->ack = srv.lastseq;    if (type == TYPE_NACK)
70        header->ack = p3_add_seq (srv.lastseq, (PACKET_MAX_SEQ - PACKET_MIN_SEQ) - 1);
71      else
72        header->ack =srv.lastseq;
73    header->client = 1;    header->client = 1;
74    header->type = type;    header->type = type;
75    /* Copy data */    /* Copy data */

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26