Note where connection that hasnt sent end was marked.

svn:r3872
This commit is contained in:
Nick Mathewson 2005-03-25 05:54:50 +00:00
parent 5edd94b27e
commit d26bcfab92

View File

@ -236,7 +236,7 @@ void connection_about_to_close_connection(connection_t *conn)
if (CONN_IS_EDGE(conn)) { if (CONN_IS_EDGE(conn)) {
if (!conn->has_sent_end) { if (!conn->has_sent_end) {
log_fn(LOG_WARN,"Harmless bug: Edge connection hasn't sent end yet?"); log_fn(LOG_WARN,"Harmless bug: Edge connection (marked at %s:%d) hasn't sent end yet?", conn->marked_for_close_file, conn->marked_for_close);
#ifdef TOR_FRAGILE #ifdef TOR_FRAGILE
tor_assert(0); tor_assert(0);
#endif #endif