bug fixes
This commit is contained in:
parent
aa1d0b1bb0
commit
361e279c59
5 changed files with 16 additions and 11 deletions
|
|
@ -135,9 +135,12 @@ int
|
|||
vtwrite(VtConn *z, uchar score[VtScoreSize], uint type, uchar *buf, int n)
|
||||
{
|
||||
Packet *p;
|
||||
int nn;
|
||||
|
||||
p = packetforeign(buf, n, 0, nil);
|
||||
return vtwritepacket(z, score, type, p);
|
||||
nn = vtwritepacket(z, score, type, p);
|
||||
packetfree(p);
|
||||
return nn;
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue