]> git.proxmox.com Git - mirror_qemu.git/commit - hw/virtio/vhost-user.c
vhost-user: cleanup msg size math
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 22 Oct 2015 19:33:39 +0000 (22:33 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 29 Oct 2015 09:05:24 +0000 (11:05 +0200)
commit7fc0246c0792767b732c0989e8eba24bea185feb
tree0316635fbb9347d2f4cf4ffe565f17334ba887d1
parent86abad0fedc44554adde5e189cf7edfa5b1c948e
vhost-user: cleanup msg size math

We are sending msg fields, use sizeof on these
and not on local variables which happen to
have a matching type.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/vhost-user.c