mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-02 16:43:32 +01:00
Fix up compilation on windows.
This commit is contained in:
parent
1f81474b2e
commit
69deb22f34
@ -7,6 +7,7 @@
|
|||||||
#include "or.h"
|
#include "or.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
|
#include "ntmain.h"
|
||||||
|
|
||||||
#ifdef HAVE_EVENT2_EVENT_H
|
#ifdef HAVE_EVENT2_EVENT_H
|
||||||
#include <event2/event.h>
|
#include <event2/event.h>
|
||||||
|
@ -168,7 +168,7 @@ errno_to_stream_end_reason(int e)
|
|||||||
S_CASE(ENOTCONN):
|
S_CASE(ENOTCONN):
|
||||||
S_CASE(ENETUNREACH):
|
S_CASE(ENETUNREACH):
|
||||||
return END_STREAM_REASON_INTERNAL;
|
return END_STREAM_REASON_INTERNAL;
|
||||||
E_CASE(EHOSTUNREACH):
|
S_CASE(EHOSTUNREACH):
|
||||||
/* XXXX022
|
/* XXXX022
|
||||||
* The correct behavior is END_STREAM_REASON_NOROUTE, but older
|
* The correct behavior is END_STREAM_REASON_NOROUTE, but older
|
||||||
* clients don't recognize it. So we're going to continue sending
|
* clients don't recognize it. So we're going to continue sending
|
||||||
|
Loading…
Reference in New Issue
Block a user