aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-06-09 14:03:54 +0000
committerrsc <devnull@localhost>2004-06-09 14:03:54 +0000
commit4192ac1de11674c91bbe390fc8afa187657f9223 (patch)
treec65704b42ba11fa11bc9bab41a44baa80b2c38ac /src
parent09a5f197726c79ef7221cc6f83527c65a6bb1ca3 (diff)
downloadplan9port-4192ac1de11674c91bbe390fc8afa187657f9223.tar.gz
plan9port-4192ac1de11674c91bbe390fc8afa187657f9223.tar.bz2
plan9port-4192ac1de11674c91bbe390fc8afa187657f9223.zip
debugging
Diffstat (limited to 'src')
-rw-r--r--src/libventi/client.c4
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;
}