зеркало из https://github.com/mozilla/pjs.git
fixes bug 189699 "Current trunk does not automatically dial-up"
patch=aardvarktm@hotmail.com r=dougt sr=darin
This commit is contained in:
Родитель
bb5e38c37f
Коммит
36a9628307
|
@ -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)
|
||||
//-------------------------------------------------------------------------
|
||||
|
|
Загрузка…
Ссылка в новой задаче