diff options
author | Roger Dingledine <arma@torproject.org> | 2007-05-13 09:25:06 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-05-13 09:25:06 +0000 |
commit | 440b7f0c70d22f45031d6b21c1bf9a4539af1455 (patch) | |
tree | 3b4bf8252674cf9d59090a68286addf0962f83e6 /src/common/log.c | |
parent | 028f4783f4365c8c0364589f03640ab1b7df6058 (diff) | |
download | tor-440b7f0c70d22f45031d6b21c1bf9a4539af1455.tar.gz tor-440b7f0c70d22f45031d6b21c1bf9a4539af1455.zip |
polish r9726-r9903
svn:r10182
Diffstat (limited to 'src/common/log.c')
-rw-r--r-- | src/common/log.c | 3 |
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; |