ignore some errnos in hopes of building on windows again

svn:r15178
This commit is contained in:
Roger Dingledine 2008-06-13 02:07:17 +00:00
parent 001e2ac918
commit b50206a9d2

View File

@ -252,8 +252,8 @@ errno_to_orconn_end_reason(int e)
return END_OR_CONN_REASON_DONE; return END_OR_CONN_REASON_DONE;
S_CASE(ENOTCONN): S_CASE(ENOTCONN):
S_CASE(ENETUNREACH): S_CASE(ENETUNREACH):
case ENETDOWN: /* << somebody should look into the Windows equiv */ // case ENETDOWN: /* << somebody should look into the Windows equiv */
case EHOSTUNREACH: // case EHOSTUNREACH:
return END_OR_CONN_REASON_NO_ROUTE; return END_OR_CONN_REASON_NO_ROUTE;
S_CASE(ECONNREFUSED): S_CASE(ECONNREFUSED):
return END_OR_CONN_REASON_REFUSED; return END_OR_CONN_REASON_REFUSED;