]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
fix confusing cut-n-paste mistake
authorRoger Dingledine <arma@torproject.org>
Wed, 22 Sep 2004 04:08:05 +0000 (04:08 +0000)
committerRoger Dingledine <arma@torproject.org>
Wed, 22 Sep 2004 04:08:05 +0000 (04:08 +0000)
svn:r2364

src/or/main.c

index b3ec831b749327af5a7d5d5a7ba6bd9a62a3987f..4a0ae66427436c6d039bf573598f40ff6e8fb969 100644 (file)
@@ -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? */