summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-02-09 23:54:30 +0000
committerRoger Dingledine <arma@torproject.org>2005-02-09 23:54:30 +0000
commit07a33074606087d371b4fdf2a5b234fba9bede6a (patch)
tree4d74ab74d418b332a5dd67ef872bd88188e1d0f7 /src
parent89d422914a0c3cbba5e3827248f97c536ce69de5 (diff)
downloadtor-07a33074606087d371b4fdf2a5b234fba9bede6a.tar.gz
tor-07a33074606087d371b4fdf2a5b234fba9bede6a.zip
remove redundant lines
svn:r3607
Diffstat (limited to 'src')
-rw-r--r--src/or/connection.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index dccbfc6771..d410e9b895 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -313,12 +313,10 @@ void connection_close_immediate(connection_t *conn)
if (conn->read_event) {
event_del(conn->read_event);
tor_free(conn->read_event);
- conn->read_event = NULL;
}
if (conn->write_event) {
event_del(conn->write_event);
tor_free(conn->write_event);
- conn->write_event = NULL;
}
tor_close_socket(conn->s);
conn->s = -1;