mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-04 07:40:42 +00:00
Bring some changes that went into Mac RTM onto the trunk of the PSM tree.
This commit is contained in:
parent
9aed1d4807
commit
53ad44667f
@ -302,6 +302,11 @@ void SSMP7DecodeConnection_ServiceThread(void * arg)
|
||||
conn->m_error = PR_GetError();
|
||||
goto finish;
|
||||
}
|
||||
#ifdef XP_MAC
|
||||
if (read < LINESIZE) {
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
} else {
|
||||
/* either EOF or an error condition */
|
||||
/* If we have a decoder in progress, stop it. */
|
||||
|
@ -763,7 +763,11 @@ PRFileDesc * SSM_OpenPort(void)
|
||||
status = PR_Bind(datasocket, &servaddr);
|
||||
if (status != PR_SUCCESS)
|
||||
goto loser;
|
||||
#if defined(XP_MAC)
|
||||
status = PR_Listen(datasocket, 1);
|
||||
#else
|
||||
status = PR_Listen(datasocket, MAX_CONNECTIONS);
|
||||
#endif
|
||||
if (status != PR_SUCCESS)
|
||||
goto loser;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user