summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-01-03 19:23:13 +0100
committerVolker Lendecke <vl@samba.org>2009-01-04 16:42:40 +0100
commit34e8945cb5d0568e511708779d2c33cc59ed54e1 (patch)
treea0c77864bc214a7eb918567ef07f9843ab69f6e9
parent611f0d7ee607bad65b7a40ba2f0195ba987f1cab (diff)
downloadsamba-34e8945cb5d0568e511708779d2c33cc59ed54e1.tar.gz
samba-34e8945cb5d0568e511708779d2c33cc59ed54e1.tar.bz2
samba-34e8945cb5d0568e511708779d2c33cc59ed54e1.zip
Actually do a non-blocking connect.... :-)
-rw-r--r--source3/lib/async_sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/async_sock.c b/source3/lib/async_sock.c
index 107d1402fc..f755f7ac58 100644
--- a/source3/lib/async_sock.c
+++ b/source3/lib/async_sock.c
@@ -636,7 +636,7 @@ struct async_req *async_connect(TALLOC_CTX *mem_ctx, struct event_context *ev,
return NULL;
}
- set_blocking(fd, true);
+ set_blocking(fd, false);
state->result.result_int = connect(fd, address, address_len);