From c5ec1f3d9246f5737279340bf1755baf542d982b Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Tue, 17 Aug 2010 04:20:46 +0300 Subject: s4-dsdb: Use dsdb_syntax_ctx in *_drsuapi_to_ldb functions --- source4/dsdb/schema/tests/schema_syntax.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/dsdb/schema/tests') diff --git a/source4/dsdb/schema/tests/schema_syntax.c b/source4/dsdb/schema/tests/schema_syntax.c index b5a6692a8d..0f939fe170 100644 --- a/source4/dsdb/schema/tests/schema_syntax.c +++ b/source4/dsdb/schema/tests/schema_syntax.c @@ -115,7 +115,7 @@ static bool torture_test_syntax(struct torture_context *torture, torture_assert_str_equal(torture, attr->syntax->name, syntax->name, "Syntax from schema not as expected"); - torture_assert_werr_ok(torture, syntax->drsuapi_to_ldb(ldb, schema, attr, &drs, tmp_ctx, &el), "Failed to convert from DRS to ldb format"); + torture_assert_werr_ok(torture, syntax->drsuapi_to_ldb(&syntax_ctx, attr, &drs, tmp_ctx, &el), "Failed to convert from DRS to ldb format"); torture_assert_data_blob_equal(torture, el.values[0], ldb_blob, "Incorrect conversion from DRS to ldb format"); -- cgit