diff --git a/source/libcli/composite/connect.c b/source/libcli/composite/connect.c index fb439172d0d..84023f6e3b9 100644 --- a/source/libcli/composite/connect.c +++ b/source/libcli/composite/connect.c @@ -349,7 +349,7 @@ struct composite_context *smb_composite_connect_send(struct smb_composite_connec make_nbt_name_server(&name, io->in.dest_host); - state->creq = resolve_name_send(&name, c->event_ctx); + state->creq = resolve_name_send(&name, c->event_ctx, NULL); if (state->creq == NULL) goto failed; state->creq->async.private = c;