mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
ignore some errnos in hopes of building on windows again
svn:r15178
This commit is contained in:
parent
001e2ac918
commit
b50206a9d2
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user