Author: ekohl
Date: Sun Sep 1 23:32:15 2013
New Revision: 59958
URL: http://svn.reactos.org/svn/reactos?rev=59958&view=rev
Log:
[NETAPI32]
NetLocalGroupAdd: Set the admin comment only if it is not NULL.
Modified:
trunk/reactos/dll/win32/netapi32/local_group.c
Modified: trunk/reactos/dll/win32/netapi32/local_group.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netapi32/local_g…
==============================================================================
--- trunk/reactos/dll/win32/netapi32/local_group.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netapi32/local_group.c [iso-8859-1] Sun Sep 1 23:32:15 2013
@@ -447,7 +447,7 @@
TRACE("Created alias \"%wZ\" (RID: %lu)\n", &AliasName, RelativeId);
/* Set the admin comment */
- if (level == 1)
+ if (aliascomment != NULL)
{
RtlInitUnicodeString(&AdminComment.AdminComment, aliascomment);