r16638: Fix bug #3885, reported by jason@ncac.gwu.edu. Use
authorJeremy Allison <jra@samba.org>
Wed, 28 Jun 2006 18:46:47 +0000 (18:46 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:19:05 +0000 (11:19 -0500)
the correct enumerated type in the macro.
Jeremy.

source/utils/net_rpc.c

index f29398c822c059e4a2c94a8470a7e3c8c5b5630d..190992e3741cc1394b513b69e4cb17d6276eba1e 100644 (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);