зеркало из https://github.com/mozilla/pjs.git
Added "resolving host" status notification for eSocketState_Created. No bug number. r=law.
This commit is contained in:
Родитель
b07e27594d
Коммит
28d1831f8f
|
@ -1795,6 +1795,7 @@ nsSocketTransport::GetSocketErrorString(PRUint32 iCode,
|
||||||
switch (iCode) /* these are currently just nsSocketState
|
switch (iCode) /* these are currently just nsSocketState
|
||||||
(as in nsSocketTransport.h) */
|
(as in nsSocketTransport.h) */
|
||||||
{
|
{
|
||||||
|
case eSocketState_Created:
|
||||||
case eSocketState_WaitDNS:
|
case eSocketState_WaitDNS:
|
||||||
{
|
{
|
||||||
static nsAutoString mesg("Resolving host ");
|
static nsAutoString mesg("Resolving host ");
|
||||||
|
@ -1827,7 +1828,6 @@ nsSocketTransport::GetSocketErrorString(PRUint32 iCode,
|
||||||
rv = NS_OK;
|
rv = NS_OK;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case eSocketState_Created:
|
|
||||||
case eSocketState_Closed:
|
case eSocketState_Closed:
|
||||||
case eSocketState_Done:
|
case eSocketState_Done:
|
||||||
case eSocketState_Timeout:
|
case eSocketState_Timeout:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче