1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

r16638: Fix bug #3885, reported by jason@ncac.gwu.edu. Use

the correct enumerated type in the macro.
Jeremy.
(This used to be commit 63ad19f71c)
This commit is contained in:
Jeremy Allison 2006-06-28 18:46:47 +00:00 committed by Gerald (Jerry) Carter
parent 7d6856240b
commit 4471ce9a68

View File

@ -1442,7 +1442,7 @@ do { if (strequal(ctx->thiscmd, name)) { \
#define SETSTR(name, rec, flag) \
do { if (strequal(ctx->thiscmd, name)) { \
init_unistr2(&usr->uni_##rec, argv[0], STR_TERMINATE); \
init_unistr2(&usr->uni_##rec, argv[0], UNI_STR_TERMINATE); \
init_uni_hdr(&usr->hdr_##rec, &usr->uni_##rec); \
usr->fields_present |= ACCT_##flag; } \
} while (0);