diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-04-02 22:11:24 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-04-02 22:11:24 +0000 |
commit | 055ee7c3231c8e0e2b645f318e990e4200bb5fbf (patch) | |
tree | b3bca05da72a3d932bb1422015f5b4992f13b357 /src/or/hibernate.c | |
parent | 4a90d3722969f6b0c8b7a4507af0889594fbed13 (diff) | |
download | tor-055ee7c3231c8e0e2b645f318e990e4200bb5fbf.tar tor-055ee7c3231c8e0e2b645f318e990e4200bb5fbf.tar.gz |
Give better warnings if connection_close_unattached_ap gets called twice or called on a marked connection; rename it to connection_mark_unattached_ap.
svn:r3990
Diffstat (limited to 'src/or/hibernate.c')
-rw-r--r-- | src/or/hibernate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/hibernate.c b/src/or/hibernate.c index df3e83bd5..1df81fdfd 100644 --- a/src/or/hibernate.c +++ b/src/or/hibernate.c @@ -742,7 +742,7 @@ hibernate_go_dormant(time_t now) { conn->cpath_layer); log_fn(LOG_INFO,"Closing conn type %d", conn->type); if (conn->type == CONN_TYPE_AP) /* send socks failure if needed */ - connection_close_unattached_ap(conn, END_STREAM_REASON_HIBERNATING); + connection_mark_unattached_ap(conn, END_STREAM_REASON_HIBERNATING); else connection_mark_for_close(conn); } |