commit 4192ac1de11674c91bbe390fc8afa187657f9223
parent 09a5f197726c79ef7221cc6f83527c65a6bb1ca3
Author: rsc <devnull@localhost>
Date: Wed, 9 Jun 2004 14:03:54 +0000
debugging
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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;
}