From b31fe2d42b87d797d5f208946029cf8965bf0049 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 20 Nov 2005 17:33:08 +0000 Subject: 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 used to be commit 577a5639d3fc008480e988864bb4fb59939bc2d8) --- source4/lib/socket/connect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/lib/socket/connect.c b/source4/lib/socket/connect.c index f174b7c09d..244fdcbb06 100644 --- a/source4/lib/socket/connect.c +++ b/source4/lib/socket/connect.c @@ -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); -- cgit