diff options
author | Andrew Tridgell <tridge@samba.org> | 2007-05-17 08:47:04 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:52:34 -0500 |
commit | c0f65eb6562e13530337c23e3447a6aa6eb8fc17 (patch) | |
tree | c997bebb84af3fae73e994d60980eb1e8f9f1a7f /source/client | |
parent | 4f84e6d569f9c9d7dd902f4550735f3ce2d3b424 (diff) | |
download | samba-c0f65eb6562e13530337c23e3447a6aa6eb8fc17.tar.gz |
r22969: fix some more places where we could end up with more than one event
context. We now have an event context on the torture_context, and we
can also get one from the cli_credentials structure
Diffstat (limited to 'source/client')
-rw-r--r-- | source/client/client.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/client/client.c b/source/client/client.c index 557767022c9..2de071a1958 100644 --- a/source/client/client.c +++ b/source/client/client.c @@ -2994,7 +2994,8 @@ static struct smbclient_context *do_connect(TALLOC_CTX *mem_ctx, ctx->remote_cur_dir = talloc_strdup(ctx, "\\"); status = smbcli_full_connection(ctx, &ctx->cli, server, - share, NULL, cred, NULL); + share, NULL, cred, + cli_credentials_get_event_context(cred)); if (!NT_STATUS_IS_OK(status)) { d_printf("Connection to \\\\%s\\%s failed - %s\n", server, share, nt_errstr(status)); |