diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2016-10-14 10:00:53 +0100 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2016-10-31 19:21:22 -0500 |
commit | b8093d38e8dce0413fe8999fe2dee48a96ab1104 (patch) | |
tree | fe9edb2fbf43ce581bf3d58a4cb01c020a77f18b /qemu-nbd.c | |
parent | 91274487a979b693c264be35b2ffcb703f0a104e (diff) |
qga: drop unused sockaddr in accept(2) call
ga_channel_listen_accept() is currently hard-coded to support only
AF_UNIX because the struct sockaddr_un type is used. This function
should work with any address family.
Drop the sockaddr since the client address is unused and is an optional
argument to accept(2).
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'qemu-nbd.c')
0 files changed, 0 insertions, 0 deletions