summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-06-28 18:46:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:19:05 -0500
commit4471ce9a68411cc9cdf5eded5e36bab2a27ed42e (patch)
tree6ef80e80e503edcd1c0ba0b592e9521fd3e2e40e /source3
parent7d6856240b64315d99576f059c443d082ec63dc9 (diff)
downloadsamba-4471ce9a68411cc9cdf5eded5e36bab2a27ed42e.tar.gz
samba-4471ce9a68411cc9cdf5eded5e36bab2a27ed42e.tar.bz2
samba-4471ce9a68411cc9cdf5eded5e36bab2a27ed42e.zip
r16638: Fix bug #3885, reported by jason@ncac.gwu.edu. Use
the correct enumerated type in the macro. Jeremy. (This used to be commit 63ad19f71c6b9474042f4ea9d5859e2849a73da8)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index f29398c822..190992e374 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -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);