added file and line number information

This commit is contained in:
Lev Walkin 2004-09-24 20:54:48 +00:00
parent f9a2c3ee4d
commit c9f64e6f69
1 changed files with 2 additions and 1 deletions

View File

@ -4,5 +4,6 @@ extern int opt_debug;
#define ASN_DEBUG(fmt, args...) do { \
if(opt_debug < 2) break; \
fprintf(stderr, fmt, ##args); \
fprintf(stderr, "\n"); \
fprintf(stderr, " (%s:%d)\n", \
__FILE__, __LINE__); \
} while(0)