Remove event context tracking from the credentials struct.
[abartlet/samba.git/.git] / source4 / utils / net / net.c
index ab81f07225a88bcc7dc00ffafaaacae8651358c7..a87b2665681fa3c33b25f1e4dbe9838e7fb51934 100644 (file)
@@ -200,7 +200,6 @@ static int binary_net(int argc, const char **argv)
        ctx->lp_ctx = cmdline_lp_ctx;
        ctx->credentials = cmdline_credentials;
        ctx->event_ctx = ev;
-       cli_credentials_set_event_context(ctx->credentials, ev);
 
        rc = net_run_function(ctx, argc_new-1, argv_new+1, net_functable, net_usage);