From ff014eb5ea738b8dd9f5c8dc802593f3add73536 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 23 Nov 2010 12:46:41 -0500 Subject: [PATCH] Use S_CASE for ehostunreach, not E_CASE. Partial backport of 69deb22f. Fixes 0.2.1 compilation on windows --- 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 82e5f99212..97fe0f83a7 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