]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Use S_CASE for ehostunreach, not E_CASE. Partial backport of 69deb22f. Fixes 0.2...
authorNick Mathewson <nickm@torproject.org>
Tue, 23 Nov 2010 17:46:41 +0000 (12:46 -0500)
committerNick Mathewson <nickm@torproject.org>
Tue, 23 Nov 2010 17:47:21 +0000 (12:47 -0500)
src/or/reasons.c

index 82e5f992123232d82a8653dcf1f2bcc0d821afc3..97fe0f83a7b8863ee0d5e206eeb781e7eaabc0df 100644 (file)
@@ -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