aboutsummaryrefslogtreecommitdiff
path: root/src/common/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/log.c')
-rw-r--r--src/common/log.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/log.c b/src/common/log.c
index cb9f0fc7fb..650e17b102 100644
--- a/src/common/log.c
+++ b/src/common/log.c
@@ -104,8 +104,7 @@ _log_prefix(char *buf, size_t buf_len, int severity)
t = (time_t)now.tv_sec;
n = strftime(buf, buf_len, "%b %d %H:%M:%S", tor_localtime_r(&t, &tm));
- r = tor_snprintf(buf+n, buf_len-n,
- ".%.3ld [%s] ",
+ r = tor_snprintf(buf+n, buf_len-n, ".%.3ld [%s] ",
(long)now.tv_usec / 1000, sev_to_string(severity));
if (r<0)
return buf_len-1;