From: Armin Novak Date: Wed, 11 Jul 2018 14:37:29 +0000 (+0200) Subject: Removed debug log messages. X-Git-Tag: 2.0.0-rc3~7^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3d8dec7fbf4d8ba8e8a6b8d35b35bc0fe26a1bc7;p=platform%2Fupstream%2Ffreerdp.git Removed debug log messages. --- diff --git a/winpr/libwinpr/file/generic.c b/winpr/libwinpr/file/generic.c index f02aecf..88cc85a 100644 --- a/winpr/libwinpr/file/generic.c +++ b/winpr/libwinpr/file/generic.c @@ -899,7 +899,6 @@ HANDLE FindFirstFileA(LPCSTR lpFileName, LPWIN32_FIND_DATAA lpFindFileData) if (stat(pFileSearch->lpPath, &fileStat) < 0) { FindClose(pFileSearch); - WLog_ERR(TAG, "%s stat error %s [%d]", pFileSearch->lpPath, strerror(errno), errno); SetLastError(map_posix_err(errno)); errno = 0; return INVALID_HANDLE_VALUE; /* stat error */ @@ -907,7 +906,6 @@ HANDLE FindFirstFileA(LPCSTR lpFileName, LPWIN32_FIND_DATAA lpFindFileData) if (S_ISDIR(fileStat.st_mode) == 0) { - WLog_ERR(TAG, "%s not a dir %s [%d]", pFileSearch->lpPath, strerror(errno), errno); FindClose(pFileSearch); return INVALID_HANDLE_VALUE; /* not a directory */ } @@ -918,7 +916,6 @@ HANDLE FindFirstFileA(LPCSTR lpFileName, LPWIN32_FIND_DATAA lpFindFileData) if (!pFileSearch->pDir) { - WLog_ERR(TAG, "%s dir open failed %s [%d]", pFileSearch->lpPath, strerror(errno), errno); FindClose(pFileSearch); SetLastError(map_posix_err(errno)); errno = 0; @@ -1030,7 +1027,6 @@ BOOL FindNextFileA(HANDLE hFindFile, LPWIN32_FIND_DATAA lpFindFileData) char* fullpath; size_t pathlen; size_t namelen; - UINT64 ft; ZeroMemory(lpFindFileData, sizeof(WIN32_FIND_DATAA)); if (!hFindFile) @@ -1064,7 +1060,6 @@ BOOL FindNextFileA(HANDLE hFindFile, LPWIN32_FIND_DATAA lpFindFileData) if (stat(fullpath, &fileStat) != 0) { - WLog_ERR(TAG, "%s stat failed %s [%d]", fullpath, strerror(errno), errno); free(fullpath); SetLastError(map_posix_err(errno)); errno = 0;