commit 4bb2cc8fbd41eec44fdbf88d3708c07ae78412c6
parent 58dd7803c29d920df0dfcfce71da8ed1bdc56289
Author: garbeam <garbeam@localhost>
Date: Sat, 7 Jan 2006 14:02:50 +0200
changed ixp_dec_stat
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libixp2/convert.c b/libixp2/convert.c
@@ -182,7 +182,7 @@ void *
ixp_dec_stat(unsigned char *msg, Stat * stat)
{
unsigned short len;
- msg += sizeof(unsigned short);
+ msg = ixp_dec_u16(msg, &len);
msg = ixp_dec_u16(msg, &stat->type);
msg = ixp_dec_u32(msg, &stat->dev);
msg = ixp_dec_qid(msg, &stat->qid);