git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3d66f3
)
r11624: Use enum names instead of magic numbers.
author
Tim Potter
<tpot@samba.org>
Thu, 10 Nov 2005 03:01:21 +0000
(
03:01
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:46:00 +0000
(13:46 -0500)
(This used to be commit
f177c223e6b881a65ed49ceacf9106e42d2a7d0a
)
source4/torture/rpc/samr.c
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/samr.c
b/source4/torture/rpc/samr.c
index 3344699c2b6f0242b17ac4b31d51c744ba22e0ea..f94c19917e93efe35c798e0d10b577b6eeb1eef0 100644
(file)
--- 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;
}