summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/mgmt.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-02 23:58:49 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-02 23:58:49 +0100
commitb45caa44e1a563a3af42e39bd61ee4a2b74db14f (patch)
tree7192b08a17144b826a6b60bacf0317a7aabe5c1b /source4/torture/rpc/mgmt.c
parent4147ad1e98f04627f9072784e69c72cd72ea206c (diff)
downloadsamba-b45caa44e1a563a3af42e39bd61ee4a2b74db14f.tar.gz
samba-b45caa44e1a563a3af42e39bd61ee4a2b74db14f.tar.bz2
samba-b45caa44e1a563a3af42e39bd61ee4a2b74db14f.zip
Fix the build.
Diffstat (limited to 'source4/torture/rpc/mgmt.c')
-rw-r--r--source4/torture/rpc/mgmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/mgmt.c b/source4/torture/rpc/mgmt.c
index fed432f31c..7f618ab776 100644
--- a/source4/torture/rpc/mgmt.c
+++ b/source4/torture/rpc/mgmt.c
@@ -128,7 +128,7 @@ static bool test_inq_princ_name(struct dcerpc_pipe *p,
continue;
}
if (W_ERROR_IS_OK(r.out.result)) {
- const char *name = gensec_get_name_by_authtype(i);
+ const char *name = gensec_get_name_by_authtype(NULL, i);
ret = true;
if (name) {
printf("\tprinciple name for proto %u (%s) is '%s'\n",