diff options
author | Tim Potter <tpot@samba.org> | 2005-11-10 03:01:21 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:46:00 -0500 |
commit | a7f37f09302ee2b5a49b66b5b7e2d69d3b6c5354 (patch) | |
tree | 452af2dca95877c57a76c8ba4b83ba4004e63360 /source4/torture/rpc | |
parent | f3d66f310f93b28c72af4d2d1187c31b3e7226be (diff) | |
download | samba-a7f37f09302ee2b5a49b66b5b7e2d69d3b6c5354.tar.gz samba-a7f37f09302ee2b5a49b66b5b7e2d69d3b6c5354.tar.bz2 samba-a7f37f09302ee2b5a49b66b5b7e2d69d3b6c5354.zip |
r11624: Use enum names instead of magic numbers.
(This used to be commit f177c223e6b881a65ed49ceacf9106e42d2a7d0a)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r-- | source4/torture/rpc/samr.c | 4 |
1 files 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; } |