diff options
-rw-r--r-- | src/libventi/fcall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libventi/fcall.c b/src/libventi/fcall.c index f2a03753..611246f7 100644 --- a/src/libventi/fcall.c +++ b/src/libventi/fcall.c @@ -182,7 +182,7 @@ vtfcallunpack(VtFcall *f, Packet *p) case 2: if(packetconsume(p, buf, 2) < 0) goto Err; - f->count = (buf[2] << 8) | buf[3]; + f->count = (buf[0] << 8) | buf[1]; break; case 4: if(packetconsume(p, buf, 4) < 0) |