Bug 1121530 - improve poll failure logging. r=mcmanus

--HG--
extra : rebase_source : 5700682b71b2d6359cbfc3c6a80290fe2d28ed65
This commit is contained in:
Nicholas Hurley 2015-01-14 08:39:09 -08:00
parent 67013c18b6
commit 07dcfdb793

View File

@ -867,7 +867,8 @@ nsSocketTransportService::DoPollIteration(bool wait)
int32_t n = Poll(wait, &pollInterval);
if (n < 0) {
SOCKET_LOG((" PR_Poll error [%d]\n", PR_GetError()));
SOCKET_LOG((" PR_Poll error [%d] os error [%d]\n", PR_GetError(),
PR_GetOSError()));
}
else {
//