[SCM] Samba Shared Repository - branch master updated
Stefan Metzmacher
metze at samba.org
Wed Feb 23 23:44:02 MST 2011
The branch, master has been updated
via 1f13d51 s3:rpc_client: we need to pass a non-blocking socket to tstream_bsd_existing_socket()
from 11a97d6 build: moved util_reg.c into a common subsystem
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 1f13d512d45eaa99023bc41cf6ec03db8cb4508e
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 23 21:42:25 2011 +0100
s3:rpc_client: we need to pass a non-blocking socket to tstream_bsd_existing_socket()
metze
Autobuild-User: Stefan Metzmacher <metze at samba.org>
Autobuild-Date: Thu Feb 24 07:43:59 CET 2011 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
source3/rpc_client/rpc_transport_sock.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/rpc_client/rpc_transport_sock.c b/source3/rpc_client/rpc_transport_sock.c
index fa5c71d..58f194f 100644
--- a/source3/rpc_client/rpc_transport_sock.c
+++ b/source3/rpc_client/rpc_transport_sock.c
@@ -31,6 +31,8 @@ NTSTATUS rpc_transport_sock_init(TALLOC_CTX *mem_ctx, int fd,
int ret;
NTSTATUS status;
+ set_blocking(fd, false);
+
ret = tstream_bsd_existing_socket(mem_ctx, fd, &stream);
if (ret != 0) {
status = map_nt_error_from_unix(errno);
--
Samba Shared Repository
More information about the samba-cvs
mailing list