summaryrefslogtreecommitdiff
path: root/source4/lib/socket
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-11-20 17:33:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:31 -0500
commitb31fe2d42b87d797d5f208946029cf8965bf0049 (patch)
tree1c1f34fadfdc3618a604eb73a2a38e09dc39cb9c /source4/lib/socket
parent02aba4c3397bdae40b093bf78ddad925bb87c28b (diff)
downloadsamba-b31fe2d42b87d797d5f208946029cf8965bf0049.tar.gz
samba-b31fe2d42b87d797d5f208946029cf8965bf0049.tar.bz2
samba-b31fe2d42b87d797d5f208946029cf8965bf0049.zip
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)
Diffstat (limited to 'source4/lib/socket')
-rw-r--r--source4/lib/socket/connect.c4
1 files 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);