diff options
Diffstat (limited to 'source4/lib/registry/tests')
-rw-r--r-- | source4/lib/registry/tests/generic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/registry/tests/generic.c b/source4/lib/registry/tests/generic.c index 68fcdd593d..2ef6f84700 100644 --- a/source4/lib/registry/tests/generic.c +++ b/source4/lib/registry/tests/generic.c @@ -91,7 +91,7 @@ static bool test_reg_val_data_string_sz(struct torture_context *ctx) { DATA_BLOB db; convert_string_talloc(ctx, CH_UTF8, CH_UTF16, - "bla", 3, (void **)&db.data, &db.length, false); + "bla", 3, (void **)&db.data, &db.length); torture_assert_str_equal(ctx, "bla", reg_val_data_string(ctx, REG_SZ, db), "sz failed"); @@ -128,7 +128,7 @@ static bool test_reg_val_description(struct torture_context *ctx) convert_string_talloc(ctx, CH_UTF8, CH_UTF16, "stationary traveller", strlen("stationary traveller"), - (void **)&data.data, &data.length, false); + (void **)&data.data, &data.length); torture_assert_str_equal(ctx, "camel = REG_SZ : stationary traveller", reg_val_description(ctx, "camel", REG_SZ, data), "reg_val_description failed"); @@ -142,7 +142,7 @@ static bool test_reg_val_description_nullname(struct torture_context *ctx) convert_string_talloc(ctx, CH_UTF8, CH_UTF16, "west berlin", strlen("west berlin"), - (void **)&data.data, &data.length, false); + (void **)&data.data, &data.length); torture_assert_str_equal(ctx, "<No Name> = REG_SZ : west berlin", reg_val_description(ctx, NULL, REG_SZ, data), "description with null name failed"); |