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

[or-cvs] [tor/release-0.2.2 132/162] Use S_CASE for ehostunreach, not E_CASE. Partial backport of 69deb22f. Fixes 0.2.1 compilation on windows



Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Tue, 23 Nov 2010 12:46:41 -0500
Subject: Use S_CASE for ehostunreach, not E_CASE. Partial backport of 69deb22f. Fixes 0.2.1 compilation on windows
Commit: ff014eb5ea738b8dd9f5c8dc802593f3add73536

---
 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 82e5f99..97fe0f8 100644
--- a/src/or/reasons.c
+++ b/src/or/reasons.c
@@ -166,7 +166,7 @@ errno_to_stream_end_reason(int e)
     S_CASE(ENOTCONN):
     S_CASE(ENETUNREACH):
       return END_STREAM_REASON_INTERNAL;
-    E_CASE(EHOSTUNREACH):
+    S_CASE(EHOSTUNREACH):
       /* XXXX022
        * The correct behavior is END_STREAM_REASON_NOROUTE, but older
        * clients don't recognize it.  So we're going to continue sending
-- 
1.7.1