Replaced ITTI_ERROR by DevAssert or DevCheck, error in ITTI are critical and should stop the program!
Disabled debug log in ITTI by default. Added ITTI_MSG_NAME and ITTI_MSG_INSTANCE defines to simplify acces to some part of message header. git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4284 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
/* Declared in intertask_interface.c */
|
||||
extern int itti_debug;
|
||||
|
||||
#define ITTI_DEBUG(x, args...) do { fprintf(stdout, "[ITTI][D]"x, ##args); } \
|
||||
#define ITTI_DEBUG(x, args...) do { if (itti_debug) fprintf(stdout, "[ITTI][D]"x, ##args); } \
|
||||
while(0)
|
||||
#define ITTI_ERROR(x, args...) do { fprintf(stdout, "[ITTI][E]"x, ##args); } \
|
||||
while(0)
|
||||
|
||||
Reference in New Issue
Block a user