aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-09-22 04:08:05 +0000
committerRoger Dingledine <arma@torproject.org>2004-09-22 04:08:05 +0000
commitc0db9fa80324f9fc9cdaaed0760f074905e6f3e1 (patch)
tree5aa34e7508f6d593e4aae20166a60e9dff788302 /src
parent013104a1e2cf150a06972693eeda14d55fc381d5 (diff)
downloadtor-c0db9fa80324f9fc9cdaaed0760f074905e6f3e1.tar
tor-c0db9fa80324f9fc9cdaaed0760f074905e6f3e1.tar.gz
fix confusing cut-n-paste mistake
svn:r2364
Diffstat (limited to 'src')
-rw-r--r--src/or/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index b3ec831b7..4a0ae6642 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -273,7 +273,7 @@ static void conn_write(int i) {
if (connection_handle_write(conn) < 0) {
if (!conn->marked_for_close) {
/* 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->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? */