From: Nick Mathewson Date: Wed, 12 Feb 2014 14:16:22 +0000 (-0500) Subject: Fix windows compilation of e0c8031516852 X-Git-Tag: tor-0.2.5.2-alpha~3^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d6e6eaba601d87ff18d20c1766b3f8fcac69e77f;p=thirdparty%2Ftor.git 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. --- diff --git a/src/or/reasons.c b/src/or/reasons.c index 6eb2643a8a..0674474e72 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;