diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-11-23 12:46:41 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-11-23 12:47:21 -0500 |
commit | ff014eb5ea738b8dd9f5c8dc802593f3add73536 (patch) | |
tree | 93ee6cb2781f52c7a0c33ea4e9bb36621ab6e684 /src | |
parent | 2d6ee53fb91a34e84d082393fd7cd8f6159b5ced (diff) | |
download | tor-ff014eb5ea738b8dd9f5c8dc802593f3add73536.tar tor-ff014eb5ea738b8dd9f5c8dc802593f3add73536.tar.gz |
Use S_CASE for ehostunreach, not E_CASE. Partial backport of 69deb22f. Fixes 0.2.1 compilation on windows
Diffstat (limited to 'src')
-rw-r--r-- | 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 82e5f9921..97fe0f83a 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 |