Browse Source

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.
Nick Mathewson 10 years ago
parent
commit
d6e6eaba60
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/reasons.c

+ 1 - 1
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;