summaryrefslogtreecommitdiff
path: root/source4/torture/local
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-10-22 10:52:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:02:25 -0500
commit8debe5a6b88c9625826e191b04244ae3e4b42590 (patch)
treef7a9bf2a71e2217ca3052a048f2c5cdf67168885 /source4/torture/local
parent020b38656016d3adeeaa9b09d41ea0c29f686ed4 (diff)
downloadsamba-8debe5a6b88c9625826e191b04244ae3e4b42590.tar.gz
samba-8debe5a6b88c9625826e191b04244ae3e4b42590.tar.bz2
samba-8debe5a6b88c9625826e191b04244ae3e4b42590.zip
r3136: - Allow specifying socket type when adding smbd service
- Make sure a epm_tower struct is completely initialized - Some more minor fixes (This used to be commit d560dcbdb85cb2c6915bdb9e2f82f1872b0f5a52)
Diffstat (limited to 'source4/torture/local')
-rw-r--r--source4/torture/local/binding_string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/local/binding_string.c b/source4/torture/local/binding_string.c
index 7ec9a30d24..6522449e64 100644
--- a/source4/torture/local/binding_string.c
+++ b/source4/torture/local/binding_string.c
@@ -26,7 +26,7 @@ static BOOL test_BindingString(TALLOC_CTX *mem_ctx, const char *binding)
{
struct dcerpc_binding b, b2;
const char *s, *s2;
- struct epm_tower *tower;
+ struct epm_tower tower;
NTSTATUS status;
/* Parse */
@@ -56,7 +56,7 @@ static BOOL test_BindingString(TALLOC_CTX *mem_ctx, const char *binding)
/* Convert back to binding and then back to string and compare */
- status = dcerpc_binding_from_tower(mem_ctx, tower, &b2);
+ status = dcerpc_binding_from_tower(mem_ctx, &tower, &b2);
if (NT_STATUS_IS_ERR(status)) {
DEBUG(0, ("Error generating binding from tower for original binding '%s': %s\n", binding, nt_errstr(status)));
return False;