commit | 7fc0246c0792767b732c0989e8eba24bea185feb | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Thu Oct 22 22:33:39 2015 +0300 |
committer | Michael S. Tsirkin <mst@redhat.com> | Thu Oct 29 11:05:24 2015 +0200 |
tree | 0316635fbb9347d2f4cf4ffe565f17334ba887d1 | |
parent | 86abad0fedc44554adde5e189cf7edfa5b1c948e [diff] |
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>