diff options
author | Orit Wasserman <owasserm@redhat.com> | 2012-09-24 13:11:08 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-09-25 19:05:55 -0500 |
commit | 5db5f44cb4b7f24b9e0efdefc9015e36b7c34881 (patch) | |
tree | aa9d4b99920842446b7d88a28eedf17874533f60 /nbd.c | |
parent | 05bc1d8a4b2f77df8cc9880a552047e30c16f1f8 (diff) |
Separate inet_connect into inet_connect (blocking) and inet_nonblocking_connect
No need to add non blocking parameters to the blocking inet_connect
add block parameter for inet_connect_opts instead of using QemuOpt "block".
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'nbd.c')
-rw-r--r-- | nbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -208,7 +208,7 @@ int tcp_socket_outgoing(const char *address, uint16_t port) int tcp_socket_outgoing_spec(const char *address_and_port) { - return inet_connect(address_and_port, true, NULL, NULL); + return inet_connect(address_and_port, NULL); } int tcp_socket_incoming(const char *address, uint16_t port) |