Skip to content
Snippets Groups Projects
Commit 09325058 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Only connection_dns_remove resolving exit connections

svn:r1934
parent fbbb4d01
No related branches found
No related tags found
No related merge requests found
......@@ -264,6 +264,9 @@ void connection_dns_remove(connection_t *conn)
struct cached_resolve search;
struct cached_resolve *resolve;
tor_assert(conn->type == CONN_TYPE_EXIT);
tor_assert(conn->state == EXIT_CONN_STATE_RESOLVING);
strncpy(search.address, conn->address, MAX_ADDRESSLEN);
search.address[MAX_ADDRESSLEN-1] = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment