diff --git a/netwerk/base/nsSocketTransport2.cpp b/netwerk/base/nsSocketTransport2.cpp index 5ddfe2119c5d..58ca67035391 100644 --- a/netwerk/base/nsSocketTransport2.cpp +++ b/netwerk/base/nsSocketTransport2.cpp @@ -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; } diff --git a/netwerk/base/nsSocketTransportService2.cpp b/netwerk/base/nsSocketTransportService2.cpp index ecce2965f9b6..932e70ac930a 100644 --- a/netwerk/base/nsSocketTransportService2.cpp +++ b/netwerk/base/nsSocketTransportService2.cpp @@ -1770,14 +1770,14 @@ nsSocketTransportService::CheckFileDesc2PlatformOverlappedIOHandleFunc() if (library) { mFileDesc2PlatformOverlappedIOHandleFunc = reinterpret_cast( - 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)); } }