git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1bf1c3
)
r11811: Revert 11808, this broke the selftest. No idea why though. Why do we to the
author
Volker Lendecke
<vlendec@samba.org>
Sun, 20 Nov 2005 17:33:08 +0000
(17:33 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:46:31 +0000
(13:46 -0500)
resolve_name if it's not used?
I know this is my code, but I don't understand why it breaks tests.
Volker
source/lib/socket/connect.c
patch
|
blob
|
history
diff --git
a/source/lib/socket/connect.c
b/source/lib/socket/connect.c
index f174b7c09d174c3b9492f873084ddc9f9a911138..244fdcbb0635169cc5032775179b8d666ce81efc 100644
(file)
--- a/
source/lib/socket/connect.c
+++ b/
source/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);