зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1393804 - The nspr function PR_FileDesc2PlatformOverlappedIOHandle has change its name. r=mayhemer
This commit is contained in:
Родитель
5f98c11330
Коммит
3df4454631
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче