From 89ffbef934b472af2597b34ed82be9e219aab3b2 Mon Sep 17 00:00:00 2001 From: "mscott%netscape.com" Date: Thu, 28 Jan 1999 01:57:58 +0000 Subject: [PATCH] Initialize sockstub protocol when starting up the netlib thread. git-svn-id: svn://10.0.0.236/trunk@18884 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/network/module/nsNetThread.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mozilla/network/module/nsNetThread.cpp b/mozilla/network/module/nsNetThread.cpp index e0d5f645e64..ada99b7246f 100644 --- a/mozilla/network/module/nsNetThread.cpp +++ b/mozilla/network/module/nsNetThread.cpp @@ -32,6 +32,7 @@ #include "nsIRelatedLinks.h" extern "C" { +#include "sockstub.h" #include "mkutils.h" #include "mkgeturl.h" #include "mktrace.h" @@ -74,6 +75,7 @@ PRThread* gNetlibThread = nsnull; extern "C" void NET_ClientProtocolInitialize() { + NET_InitSockStubProtocol(); NET_InitFileProtocol(); NET_InitHTTPProtocol(); #ifdef NU_CACHE @@ -289,7 +291,7 @@ void nsNetlibThread::NetlibMainLoop(void) * because a non-socket based protocol is being serviced (ie. file) */ if (NET_IsCallNetlibAllTheTimeSet(NULL, NULL)) { - NET_ProcessNet(NULL, NET_EVERYTIME_TYPE); + NET_ProcessNet(NULL, NET_EVERYTIME_TYPE); bIsMsg = PeekMessage(&msg, NULL, 0, 0, PM_REMOVE); } else { bIsMsg = GetMessage(&msg, NULL, 0, 0);