mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
stop telling win32 folks they have a bug just because we haven't finished
making tor work on win32 yet. svn:r3227
This commit is contained in:
parent
be72937ab0
commit
288f2ed59e
@ -281,8 +281,10 @@ static void conn_read(int i) {
|
|||||||
connection_handle_read(conn) < 0) {
|
connection_handle_read(conn) < 0) {
|
||||||
if (!conn->marked_for_close) {
|
if (!conn->marked_for_close) {
|
||||||
/* this connection is broken. remove it */
|
/* this connection is broken. remove it */
|
||||||
|
#ifndef MS_WINDOWS
|
||||||
log_fn(LOG_WARN,"Bug: unhandled error on read for %s connection (fd %d); removing",
|
log_fn(LOG_WARN,"Bug: unhandled error on read for %s connection (fd %d); removing",
|
||||||
CONN_TYPE_TO_STRING(conn->type), conn->s);
|
CONN_TYPE_TO_STRING(conn->type), conn->s);
|
||||||
|
#endif
|
||||||
connection_mark_for_close(conn);
|
connection_mark_for_close(conn);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user