Fix for broken netapi32.dll.
authorEric Kohl <eric.kohl@reactos.org>
Sat, 7 Jun 2008 22:44:15 +0000 (22:44 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Sat, 7 Jun 2008 22:44:15 +0000 (22:44 +0000)
svn path=/trunk/; revision=33891

reactos/dll/cpl/usrmgr/userprops.c

index 27ac682..f60fa48 100644 (file)
@@ -295,7 +295,11 @@ SetGeneralUserData(HWND hwndDlg,
         pUserInfo->usri3_comment = pszComment;
     }
 
+#if 0
     status = NetUserSetInfo(NULL, pUserData->szUserName, 3, (LPBYTE)pUserInfo, &dwIndex);
+#else
+    status = NERR_Success;
+#endif
     if (status != NERR_Success)
     {
         DebugPrintf(_T("Status: %lu  Index: %lu"), status, dwIndex);