Browse Source

align line number in trace

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1175 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 9 years ago
parent
commit
667412f87d
  1. 2
      util/xc_trace.h

2
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

Loading…
Cancel
Save