Better logging in vtrpc, publish cache statistics.

This commit is contained in:
rsc 2005-11-02 19:08:43 +00:00
parent f51bf04878
commit 7252036fe8
4 changed files with 23 additions and 7 deletions

View file

@ -9,12 +9,10 @@ vtfcallrpc(VtConn *z, VtFcall *ou, VtFcall *in)
{
Packet *p;
if(chattyventi)
fprint(2, "%s -> %F\n", argv0, ou);
p = vtfcallpack(ou);
if(p == nil)
return -1;
if((p = vtrpc(z, p)) == nil)
if((p = _vtrpc(z, p, ou)) == nil)
return -1;
if(vtfcallunpack(in, p) < 0){
packetfree(p);