diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-11 22:23:20 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:49:33 +0100 |
commit | 70f1f33af8e6e82506d0ee9ff6cc7e0923a7d0a1 (patch) | |
tree | 8003912164545843cab60521541e5f068708a5d8 /source4/lib/socket/testsuite.c | |
parent | 6f2252dace1629d7b5c5637b103caa28d2c89b07 (diff) | |
download | samba-70f1f33af8e6e82506d0ee9ff6cc7e0923a7d0a1.tar.gz samba-70f1f33af8e6e82506d0ee9ff6cc7e0923a7d0a1.tar.bz2 samba-70f1f33af8e6e82506d0ee9ff6cc7e0923a7d0a1.zip |
r26402: Require a talloc context in libnetif.
(This used to be commit a35e51871bbf1ab33fc316fa59e597b722769c50)
Diffstat (limited to 'source4/lib/socket/testsuite.c')
-rw-r--r-- | source4/lib/socket/testsuite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/socket/testsuite.c b/source4/lib/socket/testsuite.c index a99ae078b5..6d4d81a884 100644 --- a/source4/lib/socket/testsuite.c +++ b/source4/lib/socket/testsuite.c @@ -42,7 +42,7 @@ static bool test_udp(struct torture_context *tctx) TALLOC_CTX *mem_ctx = tctx; struct interface *ifaces; - load_interfaces(lp_interfaces(tctx->lp_ctx), &ifaces); + load_interfaces(tctx, lp_interfaces(tctx->lp_ctx), &ifaces); status = socket_create("ip", SOCKET_TYPE_DGRAM, &sock1, 0); torture_assert_ntstatus_ok(tctx, status, "creating DGRAM IP socket 1"); @@ -135,7 +135,7 @@ static bool test_tcp(struct torture_context *tctx) torture_assert_ntstatus_ok(tctx, status, "creating IP stream socket 1"); talloc_steal(mem_ctx, sock2); - load_interfaces(lp_interfaces(tctx->lp_ctx), &ifaces); + load_interfaces(tctx, lp_interfaces(tctx->lp_ctx), &ifaces); localhost = socket_address_from_strings(sock1, sock1->backend_name, iface_best_ip(ifaces, "127.0.0.1"), 0); torture_assert(tctx, localhost, "Localhost not found"); |