summaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-03-08 22:29:08 +0000
committerRoger Dingledine <arma@torproject.org>2006-03-08 22:29:08 +0000
commit946317ae13b37d2e354f5bb793eef2856805dd56 (patch)
treecfef3e883b6b5a5d7601bb1d3a8268b648a17ce8 /src/or/connection.c
parent39964206d8fb32d79ebccd9fd52755b76c29e722 (diff)
downloadtor-946317ae13b37d2e354f5bb793eef2856805dd56.tar.gz
tor-946317ae13b37d2e354f5bb793eef2856805dd56.zip
start using OR_CONN_EVENT_NEW.
also fixes a seg fault in tor (bug 261). svn:r6101
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index d99c5a2e84..1806f6afa1 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -733,6 +733,7 @@ connection_init_accepted_conn(connection_t *conn)
switch (conn->type) {
case CONN_TYPE_OR:
+ control_event_or_conn_status(conn, OR_CONN_EVENT_NEW);
return connection_tls_start_handshake(conn, 1);
case CONN_TYPE_AP:
conn->state = AP_CONN_STATE_SOCKS_WAIT;