summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-11-23 12:46:41 -0500
committerNick Mathewson <nickm@torproject.org>2010-11-23 12:47:21 -0500
commitff014eb5ea738b8dd9f5c8dc802593f3add73536 (patch)
tree93ee6cb2781f52c7a0c33ea4e9bb36621ab6e684
parent2d6ee53fb91a34e84d082393fd7cd8f6159b5ced (diff)
downloadtor-ff014eb5ea738b8dd9f5c8dc802593f3add73536.tar.gz
tor-ff014eb5ea738b8dd9f5c8dc802593f3add73536.zip
Use S_CASE for ehostunreach, not E_CASE. Partial backport of 69deb22f. Fixes 0.2.1 compilation on windows
-rw-r--r--src/or/reasons.c2
1 files changed, 1 insertions, 1 deletions
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