summaryrefslogtreecommitdiffstats
path: root/source3/lib/netapi/joindomain.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-12-20 15:03:12 +0100
committerGünther Deschner <gd@samba.org>2007-12-21 15:29:11 +0100
commit1a30bdb506f3f288e781cf1f445696c7eceb823e (patch)
treef5b57daeb6c9956dc6290dd90d3e688f513239b1 /source3/lib/netapi/joindomain.c
parent3537af86c409ea7478e3414a17d7ff3779e4bdbe (diff)
downloadsamba-1a30bdb506f3f288e781cf1f445696c7eceb823e.tar.gz
samba-1a30bdb506f3f288e781cf1f445696c7eceb823e.tar.xz
samba-1a30bdb506f3f288e781cf1f445696c7eceb823e.zip
Remove doubled cli_set_timeout calls from libnetapi.
Guenther (This used to be commit acc5d8e784b706001457ceeeb9bd4961a13d57d2)
Diffstat (limited to 'source3/lib/netapi/joindomain.c')
-rw-r--r--source3/lib/netapi/joindomain.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/lib/netapi/joindomain.c b/source3/lib/netapi/joindomain.c
index 0c3e0215208..e3d5eada027 100644
--- a/source3/lib/netapi/joindomain.c
+++ b/source3/lib/netapi/joindomain.c
@@ -109,8 +109,6 @@ static WERROR NetJoinDomainRemote(struct libnetapi_ctx *ctx,
goto done;
}
- old_timeout = cli_set_timeout(cli, 60000);
-
pipe_cli = cli_rpc_pipe_open_noauth(cli, PI_WKSSVC,
&status);
if (!pipe_cli) {
@@ -298,8 +296,6 @@ static WERROR NetUnjoinDomainRemote(struct libnetapi_ctx *ctx,
goto done;
}
- old_timeout = cli_set_timeout(cli, 60000);
-
pipe_cli = cli_rpc_pipe_open_noauth(cli, PI_WKSSVC,
&status);
if (!pipe_cli) {