Skip to content
Snippets Groups Projects
Commit ff014eb5 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Use S_CASE for ehostunreach, not E_CASE. Partial backport of 69deb22f. Fixes...

Use S_CASE for ehostunreach, not E_CASE. Partial backport of 69deb22f. Fixes 0.2.1 compilation on windows
parent 2d6ee53f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment