netapi32: Downgrade more ERRs to TRACEs.

This commit is contained in:
Kai Blin 2007-03-19 02:34:18 +01:00 committed by Alexandre Julliard
parent fa841ae379
commit 5091bd9a96
2 changed files with 4 additions and 4 deletions

View File

@ -116,7 +116,7 @@ DWORD WINAPI DsRoleGetPrimaryDomainInformation(
POLICY_VIEW_LOCAL_INFORMATION, &PolicyHandle); POLICY_VIEW_LOCAL_INFORMATION, &PolicyHandle);
if (NtStatus != STATUS_SUCCESS) if (NtStatus != STATUS_SUCCESS)
{ {
ERR("LsaOpenPolicyFailed with NT status %x\n", TRACE("LsaOpenPolicyFailed with NT status %x\n",
LsaNtStatusToWinError(NtStatus)); LsaNtStatusToWinError(NtStatus));
return ERROR_OUTOFMEMORY; return ERROR_OUTOFMEMORY;
} }

View File

@ -295,7 +295,7 @@ NetWkstaTransportEnum(LPWSTR ServerName, DWORD level, PBYTE* pbuf,
break; break;
} }
default: default:
ERR("Invalid level %d is specified\n", level); TRACE("Invalid level %d is specified\n", level);
ret = ERROR_INVALID_LEVEL; ret = ERROR_INVALID_LEVEL;
} }
} }
@ -366,7 +366,7 @@ NET_API_STATUS WINAPI NetWkstaUserGetInfo(LPWSTR reserved, DWORD level,
&PolicyHandle); &PolicyHandle);
if (NtStatus != STATUS_SUCCESS) if (NtStatus != STATUS_SUCCESS)
{ {
ERR("LsaOpenPolicyFailed with NT status %x\n", TRACE("LsaOpenPolicyFailed with NT status %x\n",
LsaNtStatusToWinError(NtStatus)); LsaNtStatusToWinError(NtStatus));
NetApiBufferFree(ui0); NetApiBufferFree(ui0);
return ERROR_NOT_ENOUGH_MEMORY; return ERROR_NOT_ENOUGH_MEMORY;
@ -426,7 +426,7 @@ NET_API_STATUS WINAPI NetWkstaUserGetInfo(LPWSTR reserved, DWORD level,
break; break;
} }
default: default:
ERR("Invalid level %d is specified\n", level); TRACE("Invalid level %d is specified\n", level);
return ERROR_INVALID_LEVEL; return ERROR_INVALID_LEVEL;
} }
return NERR_Success; return NERR_Success;