mirror of https://gerrit.osmocom.org/asn1c
more info for debugging
This commit is contained in:
parent
51be70ce8b
commit
4d89c260ee
|
@ -104,7 +104,10 @@ typedef struct arg_s {
|
|||
int _save_errno = errno; \
|
||||
if(code < 0) { \
|
||||
if(arg->debug) \
|
||||
arg->debug(code, fmt, ##args); \
|
||||
arg->debug(code, fmt " in %s (%s@%d)", \
|
||||
##args, \
|
||||
arg->mod->source_file_name, \
|
||||
__FILE__, __LINE__); \
|
||||
} else if(arg->eh) { \
|
||||
arg->eh(code, fmt " in %s", ##args, \
|
||||
arg->mod->source_file_name); \
|
||||
|
|
Loading…
Reference in New Issue