diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-12-15 17:26:09 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-12-15 17:26:09 -0500 |
commit | 350181529e39c5b9dcec7f1ae7edf15946fee501 (patch) | |
tree | e6d9f2c537db3f03c0a3d9791b178dae5f1b7782 /src/or/dnsserv.c | |
parent | 616cbb31c72a95408d018fd937f1bf3adf886a9f (diff) | |
parent | fcbd65b45cbf203b00e6752dabc7bc5b8dffdbcf (diff) | |
download | tor-350181529e39c5b9dcec7f1ae7edf15946fee501.tar.gz tor-350181529e39c5b9dcec7f1ae7edf15946fee501.zip |
Merge branch 'safelogging2'
Conflicts:
ChangeLog
Diffstat (limited to 'src/or/dnsserv.c')
-rw-r--r-- | src/or/dnsserv.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/dnsserv.c b/src/or/dnsserv.c index b1e0ff104f..256dcbd75b 100644 --- a/src/or/dnsserv.c +++ b/src/or/dnsserv.c @@ -138,13 +138,13 @@ evdns_server_callback(struct evdns_server_request *req, void *_data) * immediately if it's in the cache, or completely bogus, or automapped), * and then attached to a circuit. */ log_info(LD_APP, "Passing request for %s to rewrite_and_attach.", - escaped_safe_str(q->name)); + escaped_safe_str_client(q->name)); q_name = tor_strdup(q->name); /* q could be freed in rewrite_and_attach */ connection_ap_handshake_rewrite_and_attach(conn, NULL, NULL); /* Now, the connection is marked if it was bad. */ log_info(LD_APP, "Passed request for %s to rewrite_and_attach.", - escaped_safe_str(q_name)); + escaped_safe_str_client(q_name)); tor_free(q_name); } @@ -183,13 +183,13 @@ dnsserv_launch_request(const char *name, int reverse) * immediately if it's in the cache, or completely bogus, or automapped), * and then attached to a circuit. */ log_info(LD_APP, "Passing request for %s to rewrite_and_attach.", - escaped_safe_str(name)); + escaped_safe_str_client(name)); q_name = tor_strdup(name); /* q could be freed in rewrite_and_attach */ connection_ap_handshake_rewrite_and_attach(conn, NULL, NULL); /* Now, the connection is marked if it was bad. */ log_info(LD_APP, "Passed request for %s to rewrite_and_attach.", - escaped_safe_str(q_name)); + escaped_safe_str_client(q_name)); tor_free(q_name); return 0; } |