mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
debugging
This commit is contained in:
parent
09a5f19772
commit
4192ac1de1
1 changed files with 2 additions and 2 deletions
|
@ -84,7 +84,6 @@ vtreadpacket(VtConn *z, uchar score[VtScoreSize], uint type, int n)
|
|||
return nil;
|
||||
}
|
||||
}
|
||||
|
||||
return rx.data;
|
||||
}
|
||||
|
||||
|
@ -119,7 +118,8 @@ vtwritepacket(VtConn *z, uchar score[VtScoreSize], uint type, Packet *p)
|
|||
werrstr("sha1 hash mismatch: want %V got %V", score, rx.score);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
}else
|
||||
memmove(score, rx.score, VtScoreSize);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue