aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-11-23 11:36:44 -0500
committerNick Mathewson <nickm@torproject.org>2012-11-23 11:36:44 -0500
commit267c0e5aa14deeb2ca0d7997b4ef5a5c2bbf5fd4 (patch)
tree28708dd73f9e00e1d7fd6995f3d3756a2cef42c5 /src
parent06703f84dfa47e841fdab01bf5cbc32053606656 (diff)
downloadtor-267c0e5aa14deeb2ca0d7997b4ef5a5c2bbf5fd4.tar.gz
tor-267c0e5aa14deeb2ca0d7997b4ef5a5c2bbf5fd4.zip
Make sure that the error in ADDRMAP events is well-formed
"error=Unable to launch resolve request" is not a nice thing to tell the controller. Bugfix on 0.2.0.19-alpha (c11c48fc).
Diffstat (limited to 'src')
-rw-r--r--src/or/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c
index c6a66ae5f5..0b7f04adac 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -2943,7 +2943,7 @@ handle_control_resolve(control_connection_t *conn, uint32_t len,
send_control_done(conn);
SMARTLIST_FOREACH(failed, const char *, arg, {
control_event_address_mapped(arg, arg, time(NULL),
- "Unable to launch resolve request");
+ "internal");
});
SMARTLIST_FOREACH(args, char *, cp, tor_free(cp));