Don't stop sending text to a log file just because one Write failed.

This way subsequent DEBUG messages may still get printed.
This commit is contained in:
javi%netscape.com 2000-06-29 18:19:03 +00:00
Родитель 14a33e366c
Коммит 2e3072d3a8
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -422,7 +422,7 @@ void SSM_DebugP(char *fmt, ...)
numWritten = PR_Write(sock, tmp2, len);
if (numWritten < len)
{
SSM_Remove(logSockets, sock);
/*SSM_Remove(logSockets, sock);*/
/*PR_Close(sock);*/
/*PR_Shutdown(sock, PR_SHUTDOWN_BOTH);*/
rv = 0;