1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

r11811: Revert 11808, this broke the selftest. No idea why though. Why do we to the

resolve_name if it's not used?

I know this is my code, but I don't understand why it breaks tests.

Volker
This commit is contained in:
Volker Lendecke 2005-11-20 17:33:08 +00:00 committed by Gerald (Jerry) Carter
parent e1bf1c326f
commit 577a5639d3

View File

@ -147,9 +147,9 @@ static void socket_connect_recv_addr(struct composite_context *ctx)
{
struct connect_state *state =
talloc_get_type(ctx->async.private_data, struct connect_state);
const char *addr;
state->ctx->status = resolve_name_recv(ctx, state,
&state->server_address);
state->ctx->status = resolve_name_recv(ctx, state, &addr);
if (!composite_is_ok(state->ctx)) return;
ctx = talloc_zero(state, struct composite_context);