diff options
author | Simo Sorce <idra@samba.org> | 2008-04-14 12:43:37 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2008-04-14 12:45:51 -0400 |
commit | 4f51b0246db3242ee02ee16905cba13a5dc5633a (patch) | |
tree | af0692f28714db6e2c4ef6d985e501db58e57732 /source4/torture/util_smb.c | |
parent | 97e09c2f877779ca6d55684d33b1a24b8a280e51 (diff) | |
download | samba-4f51b0246db3242ee02ee16905cba13a5dc5633a.tar.gz samba-4f51b0246db3242ee02ee16905cba13a5dc5633a.tar.bz2 samba-4f51b0246db3242ee02ee16905cba13a5dc5633a.zip |
Fix problems with event context not being the parent.
(This used to be commit 957c4d893acf9e6db06a3fc3a4687ab6bb238635)
Diffstat (limited to 'source4/torture/util_smb.c')
-rw-r--r-- | source4/torture/util_smb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/torture/util_smb.c b/source4/torture/util_smb.c index 513070500e..c1a20094f3 100644 --- a/source4/torture/util_smb.c +++ b/source4/torture/util_smb.c @@ -553,8 +553,7 @@ _PUBLIC_ bool torture_open_connection_ev(struct smbcli_state **c, _PUBLIC_ bool torture_open_connection(struct smbcli_state **c, struct torture_context *tctx, int conn_index) { - return torture_open_connection_ev(c, conn_index, tctx, - cli_credentials_get_event_context(cmdline_credentials)); + return torture_open_connection_ev(c, conn_index, tctx, tctx->ev); } |