bug fixes
This commit is contained in:
parent
aa1d0b1bb0
commit
361e279c59
5 changed files with 16 additions and 11 deletions
|
|
@ -8,10 +8,8 @@ vtsrvhello(VtConn *z)
|
|||
VtFcall tx, rx;
|
||||
Packet *p;
|
||||
|
||||
if((p = vtrecv(z)) == nil){
|
||||
werrstr("unexpected eof on venti connection");
|
||||
if((p = vtrecv(z)) == nil)
|
||||
return -1;
|
||||
}
|
||||
|
||||
if(vtfcallunpack(&tx, p) < 0){
|
||||
packetfree(p);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue