Author: vlendec
Date: 2005-11-20 17:33:08 +0000 (Sun, 20 Nov 2005)
New Revision: 11811

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11811

Log:
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

Modified:
   branches/SAMBA_4_0/source/lib/socket/connect.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/socket/connect.c
===================================================================
--- branches/SAMBA_4_0/source/lib/socket/connect.c      2005-11-20 17:02:28 UTC 
(rev 11810)
+++ branches/SAMBA_4_0/source/lib/socket/connect.c      2005-11-20 17:33:08 UTC 
(rev 11811)
@@ -147,9 +147,9 @@
 {
        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);

Reply via email to