fix confusing cut-n-paste mistake

svn:r2364
This commit is contained in:
Roger Dingledine 2004-09-22 04:08:05 +00:00
parent 013104a1e2
commit c0db9fa803

View File

@ -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? */