Bug 1393804 - The nspr function PR_FileDesc2PlatformOverlappedIOHandle has change its name. r=mayhemer

This commit is contained in:
Dragana Damjanovic 2017-08-25 19:04:40 +02:00
Родитель 5f98c11330
Коммит 3df4454631
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -3543,7 +3543,7 @@ nsSocketTransport::CloseSocket(PRFileDesc *aFd, nsSocketTransportService *aSTS)
}
} else {
SOCKET_LOG(("nsSocketTransport::CloseSocket - there is no "
"PR_FileDesc2PlatformOverlappedIOHandle function.\n"));
"PR_EXPERIMENTAL_ONLY_IN_4_17_GetOverlappedIOHandle function.\n"));
canClose = true;
}

Просмотреть файл

@ -1770,14 +1770,14 @@ nsSocketTransportService::CheckFileDesc2PlatformOverlappedIOHandleFunc()
if (library) {
mFileDesc2PlatformOverlappedIOHandleFunc =
reinterpret_cast<FileDesc2PlatformOverlappedIOHandleFunc>(
GetProcAddress(library, "PR_FileDesc2PlatformOverlappedIOHandle"));
GetProcAddress(library, "PR_EXPERIMENTAL_ONLY_IN_4_17_GetOverlappedIOHandle"));
if (mFileDesc2PlatformOverlappedIOHandleFunc) {
SOCKET_LOG(("FileDesc2PlatformOverlappedIOHandle function "
SOCKET_LOG(("PR_EXPERIMENTAL_ONLY_IN_4_17_GetOverlappedIOHandle function "
"present"));
mNsprLibrary = library;
} else {
BOOL rv = FreeLibrary(library);
SOCKET_LOG(("No FileDesc2PlatformOverlappedIOHandle function: "
SOCKET_LOG(("No PR_EXPERIMENTAL_ONLY_IN_4_17_GetOverlappedIOHandle function: "
"%d\n", rv));
}
}