summaryrefslogtreecommitdiffstats
path: root/trace.h
diff options
context:
space:
mode:
authorSuper User2008-07-24 18:24:20 +0200
committerSuper User2008-07-24 18:24:20 +0200
commitab4a1270e9c99ab7a21a957759de2a885100afb1 (patch)
tree871a309c669bab5b201be42e66d9a53e911e0d00 /trace.h
parentmade lcr_read read frames in 160 bytes packets in rebuffer mode (diff)
downloadlcr-ab4a1270e9c99ab7a21a957759de2a885100afb1.tar.gz
lcr-ab4a1270e9c99ab7a21a957759de2a885100afb1.tar.xz
lcr-ab4a1270e9c99ab7a21a957759de2a885100afb1.zip
fixed trace bug
added ast_setstate after pbx_start() modified: chan_lcr.c modified: mISDN.cpp modified: trace.h
Diffstat (limited to 'trace.h')
-rw-r--r--trace.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/trace.h b/trace.h
index c0fcab0..4c82fa4 100644
--- a/trace.h
+++ b/trace.h
@@ -133,9 +133,9 @@ struct trace {
//#define CATEGORY_BC 0x04 check lcradmin help
-#define start_trace(port, interface, caller, dialing, direction, category, serial, name) _start_trace(__FUNCTION__, __LINE__, port, interface, caller, dialing, direction, category, serial, name)
-#define add_trace(name, sub, fmt, arg...) _add_trace(__FUNCTION__, __LINE__, name, sub, fmt, ## arg)
-#define end_trace() _end_trace(__FUNCTION__, __LINE__)
+#define start_trace(port, interface, caller, dialing, direction, category, serial, name) _start_trace(__FILE__, __LINE__, port, interface, caller, dialing, direction, category, serial, name)
+#define add_trace(name, sub, fmt, arg...) _add_trace(__FILE__, __LINE__, name, sub, fmt, ## arg)
+#define end_trace() _end_trace(__FILE__, __LINE__)
void _start_trace(const char *__file, int line, int port, struct interface *interface, char *caller, char *dialing, int direction, int category, int serial, char *name);
void _add_trace(const char *__file, int line, char *name, char *sub, const char *fmt, ...);
void _end_trace(const char *__file, int line);