|
From: | Juan Quintela |
Subject: | Re: [Qemu-devel] [PATCH 09/12] migration: close socket QEMUFile from socket_close |
Date: | Tue, 30 Oct 2012 13:40:30 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) |
Paolo Bonzini <address@hidden> wrote: > The common suffix now is process_incoming_migration+qemu_fclose. > > Signed-off-by: Paolo Bonzini <address@hidden> Reviewed-by: Juan Quintela <address@hidden> > diff --git a/migration-unix.c b/migration-unix.c > index def1969..46e04fc 100644 > --- a/migration-unix.c > +++ b/migration-unix.c > @@ -144,6 +144,8 @@ static void unix_accept_incoming_migration(void *opaque) > > process_incoming_migration(f); > qemu_fclose(f); > + return; > + > out: > close(c); If we are donig this, removing the goto looks like one option?
[Prev in Thread] | Current Thread | [Next in Thread] |