diff options
author | Lev Walkin <vlm@lionet.info> | 2005-03-10 09:36:03 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2005-03-10 09:36:03 +0000 |
commit | 4d89c260ee24b64f06f6d7b69ab47c75ecaca0a0 (patch) | |
tree | 45235dc62b474b25a492e8b3f5040a9aff3582cc /libasn1fix | |
parent | 51be70ce8b1be572d2cf152e6580d37cc713b586 (diff) |
more info for debugging
Diffstat (limited to 'libasn1fix')
-rw-r--r-- | libasn1fix/asn1fix_internal.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libasn1fix/asn1fix_internal.h b/libasn1fix/asn1fix_internal.h index 6b157785..79a5cf27 100644 --- a/libasn1fix/asn1fix_internal.h +++ b/libasn1fix/asn1fix_internal.h @@ -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); \ |