summaryrefslogtreecommitdiff
path: root/source4/torture/libnet/libnet_lookup.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-02 18:39:11 -0600
committerStefan Metzmacher <metze@samba.org>2008-01-02 12:48:03 -0600
commit40acf23a927b7fcabad621cadabb9c7476c8d5e9 (patch)
tree343de5c85e0bf239d9b22b1009d7df4d70d029ef /source4/torture/libnet/libnet_lookup.c
parent771b347f9b185895390445be96081c781e28a26d (diff)
downloadsamba-40acf23a927b7fcabad621cadabb9c7476c8d5e9.tar.gz
r26645: Janitorial: Fix a couple of warnings.
(This used to be commit a2bc97e8b01ecee48be60823cb19b4e794fb8f93)
Diffstat (limited to 'source4/torture/libnet/libnet_lookup.c')
-rw-r--r--source4/torture/libnet/libnet_lookup.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/torture/libnet/libnet_lookup.c b/source4/torture/libnet/libnet_lookup.c
index bf3c77fb44b..9167d1de3ec 100644
--- a/source4/torture/libnet/libnet_lookup.c
+++ b/source4/torture/libnet/libnet_lookup.c
@@ -36,7 +36,7 @@ bool torture_lookup(struct torture_context *torture)
TALLOC_CTX *mem_ctx;
struct libnet_context *ctx;
struct libnet_Lookup lookup;
- struct dcerpc_binding *bind;
+ struct dcerpc_binding *binding;
mem_ctx = talloc_init("test_lookup");
@@ -45,9 +45,9 @@ bool torture_lookup(struct torture_context *torture)
lookup.in.hostname = torture_setting_string(torture, "host", NULL);
if (lookup.in.hostname == NULL) {
- status = torture_rpc_binding(torture, &bind);
+ status = torture_rpc_binding(torture, &binding);
if (NT_STATUS_IS_OK(status)) {
- lookup.in.hostname = bind->host;
+ lookup.in.hostname = binding->host;
}
}
@@ -80,7 +80,7 @@ bool torture_lookup_host(struct torture_context *torture)
TALLOC_CTX *mem_ctx;
struct libnet_context *ctx;
struct libnet_Lookup lookup;
- struct dcerpc_binding *bind;
+ struct dcerpc_binding *binding;
mem_ctx = talloc_init("test_lookup_host");
@@ -89,9 +89,9 @@ bool torture_lookup_host(struct torture_context *torture)
lookup.in.hostname = torture_setting_string(torture, "host", NULL);
if (lookup.in.hostname == NULL) {
- status = torture_rpc_binding(torture, &bind);
+ status = torture_rpc_binding(torture, &binding);
if (NT_STATUS_IS_OK(status)) {
- lookup.in.hostname = bind->host;
+ lookup.in.hostname = binding->host;
}
}