summaryrefslogtreecommitdiff
path: root/source4/torture/local
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-10-24 22:46:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:02:28 -0500
commit06b3879c8fec97ef5de9b969301611e28fff00de (patch)
tree0bdf15f1211d86b78b601edeea609e1904eb858f /source4/torture/local
parent36db6faff3d495f5906d8e34275493234c2399f8 (diff)
downloadsamba-06b3879c8fec97ef5de9b969301611e28fff00de.tar.gz
samba-06b3879c8fec97ef5de9b969301611e28fff00de.tar.bz2
samba-06b3879c8fec97ef5de9b969301611e28fff00de.zip
r3167: Add a member 'endpoint' to the dcerpc_binding struct to use instead of
options[0]. (This used to be commit 18582083af800abd3d8de40eb73255c8ae6598dd)
Diffstat (limited to 'source4/torture/local')
-rw-r--r--source4/torture/local/binding_string.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/torture/local/binding_string.c b/source4/torture/local/binding_string.c
index 289e8a3894..0fd1b4fb56 100644
--- a/source4/torture/local/binding_string.c
+++ b/source4/torture/local/binding_string.c
@@ -64,9 +64,7 @@ static BOOL test_BindingString(TALLOC_CTX *mem_ctx, const char *binding)
/* Compare to a stripped down version of the binding string because
* the protocol tower doesn't contain the extra option data */
- if (b.options && b.options[0]) {
- b.options[1] = NULL;
- }
+ b.options = NULL;
b.flags = 0;