Bring some changes that went into Mac RTM onto the trunk of the PSM tree.

This commit is contained in:
javi%netscape.com 2000-11-15 19:20:28 +00:00
parent 9aed1d4807
commit 53ad44667f
2 changed files with 9 additions and 0 deletions

View File

@ -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. */

View File

@ -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;