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:
parent
e1bf1c326f
commit
577a5639d3
@ -147,9 +147,9 @@ static void socket_connect_recv_addr(struct composite_context *ctx)
|
|||||||
{
|
{
|
||||||
struct connect_state *state =
|
struct connect_state *state =
|
||||||
talloc_get_type(ctx->async.private_data, struct connect_state);
|
talloc_get_type(ctx->async.private_data, struct connect_state);
|
||||||
|
const char *addr;
|
||||||
|
|
||||||
state->ctx->status = resolve_name_recv(ctx, state,
|
state->ctx->status = resolve_name_recv(ctx, state, &addr);
|
||||||
&state->server_address);
|
|
||||||
if (!composite_is_ok(state->ctx)) return;
|
if (!composite_is_ok(state->ctx)) return;
|
||||||
|
|
||||||
ctx = talloc_zero(state, struct composite_context);
|
ctx = talloc_zero(state, struct composite_context);
|
||||||
|
Loading…
Reference in New Issue
Block a user