diff options
author | rsc <devnull@localhost> | 2004-06-09 14:03:54 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-06-09 14:03:54 +0000 |
commit | 4192ac1de11674c91bbe390fc8afa187657f9223 (patch) | |
tree | c65704b42ba11fa11bc9bab41a44baa80b2c38ac /src/libventi | |
parent | 09a5f197726c79ef7221cc6f83527c65a6bb1ca3 (diff) | |
download | plan9port-4192ac1de11674c91bbe390fc8afa187657f9223.tar.gz plan9port-4192ac1de11674c91bbe390fc8afa187657f9223.tar.bz2 plan9port-4192ac1de11674c91bbe390fc8afa187657f9223.zip |
debugging
Diffstat (limited to 'src/libventi')
-rw-r--r-- | src/libventi/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libventi/client.c b/src/libventi/client.c index b9e866fc..5d51cc7d 100644 --- a/src/libventi/client.c +++ b/src/libventi/client.c @@ -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; } |