From: Eric Kohl Date: Sun, 1 Sep 2013 23:32:15 +0000 (+0000) Subject: [NETAPI32] X-Git-Tag: ReactOS-0.3.16~1553 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=051640cf67bad579a7e2b24e9c4b87130d1de056 [NETAPI32] NetLocalGroupAdd: Set the admin comment only if it is not NULL. svn path=/trunk/; revision=59958 --- diff --git a/reactos/dll/win32/netapi32/local_group.c b/reactos/dll/win32/netapi32/local_group.c index 9f49f50ef64..6cdfce1a4de 100644 --- a/reactos/dll/win32/netapi32/local_group.c +++ b/reactos/dll/win32/netapi32/local_group.c @@ -447,7 +447,7 @@ NetLocalGroupAdd( TRACE("Created alias \"%wZ\" (RID: %lu)\n", &AliasName, RelativeId); /* Set the admin comment */ - if (level == 1) + if (aliascomment != NULL) { RtlInitUnicodeString(&AdminComment.AdminComment, aliascomment);