aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-02-11 13:05:27 -0500
committerRoger Dingledine <arma@torproject.org>2013-02-11 13:29:56 -0500
commit36e2eb6775a2f52d34423f1319a0be1472506649 (patch)
tree603287106eec0401180a0a943f2501ed5e294769 /src/or/router.c
parent92ea0b86de30dafe392a2dcd2eb12d9ab83114a7 (diff)
downloadtor-36e2eb6775a2f52d34423f1319a0be1472506649.tar.gz
tor-36e2eb6775a2f52d34423f1319a0be1472506649.zip
Avoid generating extra spaces when explaining how we guessed our address
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 735b579fcb..f336f128d2 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -2111,8 +2111,8 @@ check_descriptor_ipaddress_changed(time_t now)
tor_addr_from_ipv4h(&tmp_prev, prev);
tor_addr_from_ipv4h(&tmp_cur, cur);
- tor_asprintf(&source, "METHOD=%s %s%s", method,
- hostname ? "HOSTNAME=" : "",
+ tor_asprintf(&source, "METHOD=%s%s%s", method,
+ hostname ? " HOSTNAME=" : "",
hostname ? hostname : "");
log_addr_has_changed(LOG_NOTICE, &tmp_prev, &tmp_cur, source);