From: Nick Mathewson Date: Tue, 23 Nov 2010 17:46:41 +0000 (-0500) Subject: Use S_CASE for ehostunreach, not E_CASE. Partial backport of 69deb22f. Fixes 0.2... X-Git-Tag: tor-0.2.1.27~1^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff014eb5ea738b8dd9f5c8dc802593f3add73536;p=thirdparty%2Ftor.git Use S_CASE for ehostunreach, not E_CASE. Partial backport of 69deb22f. Fixes 0.2.1 compilation on windows --- 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