summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorXuefer <xuefer@gmail.com>2012-11-13 12:33:36 +0000
committerXuefer <xuefer@gmail.com>2012-11-13 12:33:36 +0000
commit667412f87dcaacea95abae5aa2b1f1f25f3ad3d3 (patch)
treeed664e6d627c09fa161362fd4976e1c8a2f5b9a4 /util
parent7cd9b7949011951f7efa45ffc0ed969d90d38aaf (diff)
downloadxcache-667412f87dcaacea95abae5aa2b1f1f25f3ad3d3.tar.gz
xcache-667412f87dcaacea95abae5aa2b1f1f25f3ad3d3.zip
align line number in trace
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1175 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
Diffstat (limited to 'util')
-rw-r--r--util/xc_trace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/xc_trace.h b/util/xc_trace.h
index 8bc4305..95e4896 100644
--- a/util/xc_trace.h
+++ b/util/xc_trace.h
@@ -34,7 +34,7 @@ static inline int TRACE(const char *fmt, ...)
# else
const char *xc_trace_get_basename(const char *path);
# define TRACE(fmt, ...) \
- xc_trace("%s:%d: " fmt "\r\n", xc_trace_get_basename(__FILE__), __LINE__, __VA_ARGS__)
+ xc_trace("%s:%04d: " fmt "\r\n", xc_trace_get_basename(__FILE__), __LINE__, __VA_ARGS__)
# endif /* ZEND_WIN32 */
# undef NDEBUG
# undef inline