diff options
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r-- | source4/torture/rpc/async_bind.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/rpc/async_bind.c b/source4/torture/rpc/async_bind.c index 70333845ff..e5ff25ed85 100644 --- a/source4/torture/rpc/async_bind.c +++ b/source4/torture/rpc/async_bind.c @@ -68,13 +68,13 @@ BOOL torture_async_bind(struct torture_context *torture) table = talloc_array(torture, const struct dcerpc_interface_table*, torture_numasync); if (table == NULL) return False; - /* event context */ - evt_ctx = event_context_init(mem_ctx); - if (evt_ctx == NULL) return False; - /* credentials */ creds = cmdline_credentials; + /* event context */ + evt_ctx = cli_credentials_get_event_context(creds); + if (evt_ctx == NULL) return False; + /* send bind requests */ for (i = 0; i < torture_numasync; i++) { table[i] = &dcerpc_table_lsarpc; |