diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-02-12 09:16:22 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-02-12 09:16:22 -0500 |
commit | d6e6eaba601d87ff18d20c1766b3f8fcac69e77f (patch) | |
tree | 81db787e123235c939bca63967c9f89ef81910e1 /src/or | |
parent | 91d4bb0b000e1bdaf8569339a9b843c50e13e47e (diff) | |
download | tor-d6e6eaba601d87ff18d20c1766b3f8fcac69e77f.tar tor-d6e6eaba601d87ff18d20c1766b3f8fcac69e77f.tar.gz |
Fix windows compilation of e0c8031516852
There is no WSAEPERM; we were implying that there was.This fixes a
bug in e0c8031516852143fb82d8fee91a0f4c576c7418, which hadn't yet
appeared in any released Tor.
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/reasons.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/reasons.c b/src/or/reasons.c index 6eb2643a8..0674474e7 100644 --- a/src/or/reasons.c +++ b/src/or/reasons.c @@ -179,7 +179,7 @@ errno_to_stream_end_reason(int e) S_CASE(ENETUNREACH): S_CASE(EHOSTUNREACH): E_CASE(EACCES): - E_CASE(EPERM): + case EPERM: return END_STREAM_REASON_NOROUTE; S_CASE(ECONNREFUSED): return END_STREAM_REASON_CONNECTREFUSED; |