summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/util.c2
-rw-r--r--src/or/circuitbuild.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 1bb116b212..7ffe0a98cb 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -2092,7 +2092,7 @@ read_file_to_str(const char *filename, int flags, struct stat *stat_out)
int save_errno = errno;
if (errno == ENOENT && (flags & RFTS_IGNORE_MISSING))
severity = LOG_INFO;
- log_fn(severity, LD_FS,"Could not open \"%s\": %s ",filename,
+ log_fn(severity, LD_FS,"Could not open \"%s\": %s",filename,
strerror(errno));
errno = save_errno;
return NULL;
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 2f86e1fa34..08bfb98815 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -1755,7 +1755,7 @@ circuit_handle_first_hop(origin_circuit_t *circ)
/* not currently connected in a useful way. */
const char *name = strlen(firsthop->extend_info->nickname) ?
firsthop->extend_info->nickname : fmt_addr(&firsthop->extend_info->addr);
- log_info(LD_CIRC, "Next router is %s: %s ",
+ log_info(LD_CIRC, "Next router is %s: %s",
safe_str_client(name), msg?msg:"???");
circ->_base.n_hop = extend_info_dup(firsthop->extend_info);