mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-14 07:03:44 +01:00
fix confusing cut-n-paste mistake
svn:r2364
This commit is contained in:
parent
013104a1e2
commit
c0db9fa803
@ -273,7 +273,7 @@ static void conn_write(int i) {
|
|||||||
if (connection_handle_write(conn) < 0) {
|
if (connection_handle_write(conn) < 0) {
|
||||||
if (!conn->marked_for_close) {
|
if (!conn->marked_for_close) {
|
||||||
/* this connection is broken. remove it. */
|
/* this connection is broken. remove it. */
|
||||||
log_fn(LOG_WARN,"Unhandled error on read for %s connection (fd %d); removing",
|
log_fn(LOG_WARN,"Unhandled error on write for %s connection (fd %d); removing",
|
||||||
CONN_TYPE_TO_STRING(conn->type), conn->s);
|
CONN_TYPE_TO_STRING(conn->type), conn->s);
|
||||||
conn->has_sent_end = 1; /* otherwise we cry wolf about duplicate close */
|
conn->has_sent_end = 1; /* otherwise we cry wolf about duplicate close */
|
||||||
/* XXX do we need a close-immediate here, so we don't try to flush? */
|
/* XXX do we need a close-immediate here, so we don't try to flush? */
|
||||||
|
Loading…
Reference in New Issue
Block a user