From 9c6343fdf8ab6e8241c613c54bb3bd9cb6c78a91 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Tue, 16 Sep 2003 01:58:46 +0000 Subject: refactor connects into connection_connect() svn:r460 --- src/or/dns.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/or/dns.c') diff --git a/src/or/dns.c b/src/or/dns.c index 20fbd15ae..eb1673ee2 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -393,6 +393,7 @@ static int spawn_dnsworker(void) { conn->receiver_bucket = -1; /* non-cell connections don't do receiver buckets */ conn->bandwidth = -1; conn->s = fd[0]; + conn->address = strdup("localhost"); if(connection_add(conn) < 0) { /* no space, forget it */ log_fn(LOG_INFO,"connection_add failed. Giving up."); -- cgit v1.2.3