fixes bug 189699 "Current trunk does not automatically dial-up"

patch=aardvarktm@hotmail.com r=dougt sr=darin
This commit is contained in:
darin%netscape.com 2003-01-22 00:09:05 +00:00
Родитель c44ce2ad23
Коммит 09cb8aba1a
2 изменённых файлов: 6 добавлений и 1 удалений

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

@ -60,6 +60,7 @@ nsSocketTransportService::nsSocketTransportService()
: mInitialized(PR_FALSE)
, mThread(nsnull)
, mThreadEvent(nsnull)
, mAutodialEnabled(PR_FALSE)
, mEventQLock(PR_NewLock())
, mActiveCount(0)
, mIdleCount(0)
@ -392,13 +393,14 @@ nsSocketTransportService::CreateTransport(const char **types,
NS_IMETHODIMP
nsSocketTransportService::GetAutodialEnabled(PRBool *value)
{
*value = PR_FALSE;
*value = mAutodialEnabled;
return NS_OK;
}
NS_IMETHODIMP
nsSocketTransportService::SetAutodialEnabled(PRBool value)
{
mAutodialEnabled = value;
return NS_OK;
}

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

@ -153,6 +153,9 @@ private:
nsIThread *mThread;
PRFileDesc *mThreadEvent;
// pref to control autodial code
PRBool mAutodialEnabled;
//-------------------------------------------------------------------------
// event queue (any thread)
//-------------------------------------------------------------------------