diff options
Diffstat (limited to 'src/or/control.c')
-rw-r--r-- | src/or/control.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c index c1b44df7e2..41bc5d1782 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -579,7 +579,8 @@ handle_control_mapaddress(connection_t *conn, uint32_t len, const char *body) tor_strdup(to)); if (!addr) { log_fn(LOG_WARN, - "Unable to allocate address for '%s' in MapAddress msg",line); + "Unable to allocate address for '%s' in MapAddress msg", + safe_str(line)); } else { size_t anslen = strlen(addr)+strlen(to)+2; char *ans = tor_malloc(anslen); |