mirror of
https://github.com/mii443/qemu.git
synced 2025-08-30 02:49:30 +00:00
socket: Make errp the last parameter of socket_connect
Signed-off-by: Fam Zheng <famz@redhat.com> Message-Id: <20170421122710.15373-2-famz@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
committed by
Markus Armbruster
parent
536eeea869
commit
226799cec5
@ -1074,8 +1074,8 @@ fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
int socket_connect(SocketAddress *addr, Error **errp,
|
||||
NonBlockingConnectHandler *callback, void *opaque)
|
||||
int socket_connect(SocketAddress *addr, NonBlockingConnectHandler *callback,
|
||||
void *opaque, Error **errp)
|
||||
{
|
||||
int fd;
|
||||
|
||||
|
Reference in New Issue
Block a user