svn commit: samba r16637 - in trunk/source/utils: .

jra at samba.org jra at samba.org
Wed Jun 28 18:46:42 GMT 2006


Author: jra
Date: 2006-06-28 18:46:41 +0000 (Wed, 28 Jun 2006)
New Revision: 16637

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16637

Log:
Fix bug #3885, reported by jason at ncac.gwu.edu. Use
the correct enumerated type in the macro.
Jeremy.

Modified:
   trunk/source/utils/net_rpc.c


Changeset:
Modified: trunk/source/utils/net_rpc.c
===================================================================
--- trunk/source/utils/net_rpc.c	2006-06-28 18:22:21 UTC (rev 16636)
+++ trunk/source/utils/net_rpc.c	2006-06-28 18:46:41 UTC (rev 16637)
@@ -1442,7 +1442,7 @@
 
 #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);



More information about the samba-cvs mailing list