summaryrefslogtreecommitdiff
path: root/source/torture/unix/whoami.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2008-04-21 17:58:23 -0400
committerSimo Sorce <idra@samba.org>2008-04-21 18:12:33 -0400
commit3045d391626fba169aa26be52174883e18d323e9 (patch)
treefeebfaeac019a4aed496653051e86f64190a192d /source/torture/unix/whoami.c
parentca7e4d9166a7cb10495cf3ecd9c4e72103fbec30 (diff)
downloadsamba-3045d391626fba169aa26be52174883e18d323e9.tar.gz
Remove more event_context_init() uses from function calls within deep down the code.
Make sure we pass around the event_context where we need it instead. All test but a few python ones fail. Jelmer promised to fix them.
Diffstat (limited to 'source/torture/unix/whoami.c')
-rw-r--r--source/torture/unix/whoami.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/torture/unix/whoami.c b/source/torture/unix/whoami.c
index a1333ac5bdf..d4f19bb57a1 100644
--- a/source/torture/unix/whoami.c
+++ b/source/torture/unix/whoami.c
@@ -84,7 +84,7 @@ static struct smbcli_state *connect_to_server(struct torture_context *tctx,
lp_smb_ports(tctx->lp_ctx),
share, NULL,
creds, lp_resolve_context(tctx->lp_ctx),
- NULL, &options);
+ tctx->ev, &options);
if (!NT_STATUS_IS_OK(status)) {
printf("failed to connect to //%s/%s: %s\n",