diff options
author | Roger Dingledine <arma@torproject.org> | 2002-09-09 04:06:59 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2002-09-09 04:06:59 +0000 |
commit | 1e4e0244ddf3b7d144d05aef7362443f84939d3f (patch) | |
tree | 7b4a1d3b73dfe9a2c793ba8cf0a6158f2ce39044 /src/or/connection_ap.c | |
parent | f9f3e2f120cae011a7363db11160fd375b66ce1c (diff) | |
download | tor-1e4e0244ddf3b7d144d05aef7362443f84939d3f.tar.gz tor-1e4e0244ddf3b7d144d05aef7362443f84939d3f.zip |
minor race condition
(it seemed to work anyway, but...)
svn:r100
Diffstat (limited to 'src/or/connection_ap.c')
-rw-r--r-- | src/or/connection_ap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/connection_ap.c b/src/or/connection_ap.c index 9d96ae85b3..3080fe8226 100644 --- a/src/or/connection_ap.c +++ b/src/or/connection_ap.c @@ -365,8 +365,7 @@ int connection_ap_finished_flushing(connection_t *conn) { case AP_CONN_STATE_OPEN: /* FIXME down the road, we'll clear out circuits that are pending to close */ connection_stop_writing(conn); - connection_consider_sending_sendme(conn); - return 0; + return connection_consider_sending_sendme(conn); default: log(LOG_DEBUG,"Bug: connection_ap_finished_flushing() called in unexpected state."); return 0; |