diff options
author | Roger Dingledine <arma@torproject.org> | 2003-09-27 07:28:44 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-09-27 07:28:44 +0000 |
commit | deac70439953008450fd1c17cad12c2a78a7c04b (patch) | |
tree | fe5f84e1bcdd9259ccac9ac2a3f47580cfe57287 /src/or/connection_or.c | |
parent | 9899e09b3b0d8249ba1edd97153a46a4e0c4dea3 (diff) | |
download | tor-deac70439953008450fd1c17cad12c2a78a7c04b.tar tor-deac70439953008450fd1c17cad12c2a78a7c04b.tar.gz |
connection_new() can't ever fail
svn:r497
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r-- | src/or/connection_or.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c index bdee553bb..6e31966dc 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -104,10 +104,6 @@ connection_t *connection_or_connect(routerinfo_t *router) { return conn; conn = connection_new(CONN_TYPE_OR); - if(!conn) { - log_fn(LOG_WARNING,"connection_new failed; skipping."); - return NULL; - } /* set up conn so it's got all the data we need to remember */ connection_or_init_conn_from_router(conn, router); |