From a7f37f09302ee2b5a49b66b5b7e2d69d3b6c5354 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Thu, 10 Nov 2005 03:01:21 +0000 Subject: r11624: Use enum names instead of magic numbers. (This used to be commit f177c223e6b881a65ed49ceacf9106e42d2a7d0a) --- source4/torture/rpc/samr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c index 3344699c2b..f94c19917e 100644 --- a/source4/torture/rpc/samr.c +++ b/source4/torture/rpc/samr.c @@ -650,8 +650,8 @@ static BOOL test_SetAliasInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, r.in.level = levels[i]; r.in.info = talloc(mem_ctx, union samr_AliasInfo); switch (r.in.level) { - case 2 : init_lsa_String(&r.in.info->name,TEST_ALIASNAME); break; - case 3 : init_lsa_String(&r.in.info->description, + case ALIASINFONAME: init_lsa_String(&r.in.info->name,TEST_ALIASNAME); break; + case ALIASINFODESCRIPTION: init_lsa_String(&r.in.info->description, "Test Description, should test I18N as well"); break; } -- cgit