player: fixed length of ack packets
This commit is contained in:
parent
41d96707c0
commit
de4f010c2a
|
@ -313,7 +313,7 @@ void processPacket(struct packet *p)
|
||||||
if (p->command=='T'){
|
if (p->command=='T'){
|
||||||
struct packet ack;
|
struct packet ack;
|
||||||
memset((void*)&ack, 0, sizeof(ack));
|
memset((void*)&ack, 0, sizeof(ack));
|
||||||
ack.len=sizeof(p);
|
ack.len=sizeof(ack);
|
||||||
ack.protocol='G';
|
ack.protocol='G';
|
||||||
ack.command='a';
|
ack.command='a';
|
||||||
ack.id= id;
|
ack.id= id;
|
||||||
|
|
Loading…
Reference in New Issue