aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-03-15 06:10:58 +0000
committerRoger Dingledine <arma@torproject.org>2007-03-15 06:10:58 +0000
commit8ca31c81954794e01cc6c644bf9e1b6f43d1cbc7 (patch)
tree9a4117e4aacacfc14dca00d2b8ea3aed1b52554e /src/or/control.c
parentc995a369728adbe769f9251e2877bc650c532dd5 (diff)
downloadtor-8ca31c81954794e01cc6c644bf9e1b6f43d1cbc7.tar.gz
tor-8ca31c81954794e01cc6c644bf9e1b6f43d1cbc7.zip
Make the response to 'getinfo addr-mappings/*' follow the spec.
svn:r9822
Diffstat (limited to 'src/or/control.c')
-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 8e3a2db601..83c94cb6d3 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -1465,7 +1465,7 @@ getinfo_helper_events(control_connection_t *control_conn,
}
mappings = smartlist_create();
addressmap_get_mappings(mappings, min_e, max_e);
- *answer = smartlist_join_strings(mappings, "\r\n", 0, NULL);
+ *answer = smartlist_join_strings(mappings, " ", 0, NULL);
SMARTLIST_FOREACH(mappings, char *, cp, tor_free(cp));
smartlist_free(mappings);
}