[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/release-0.2.4] Fix windows compilation of e0c8031516852



commit d6e6eaba601d87ff18d20c1766b3f8fcac69e77f
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Wed Feb 12 09:16:22 2014 -0500

    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.
---
 src/or/reasons.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/reasons.c b/src/or/reasons.c
index 6eb2643..0674474 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;



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits