Fix build breakage when using VDE introduced by 4f1c942

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Anthony Liguori 2009-06-10 20:24:44 -05:00
parent f8e76fbf51
commit 068daedd7d

2
net.c
View file

@ -1426,7 +1426,7 @@ static void vde_to_qemu(void *opaque)
static ssize_t vde_receive(VLANClientState *vc, const uint8_t *buf, size_t size)
{
VDEState *s = vc->opaque;
ssize ret;
ssize_t ret;
do {
ret = vde_send(s->vde, (const char *)buf, size, 0);