1
0
mirror of https://github.com/rofl0r/proxychains-ng synced 2025-01-23 01:12:59 +08:00

change debug format

This commit is contained in:
hugoc 2024-02-13 19:51:24 +01:00
parent 803f8a61b4
commit 0322811965

View File

@ -5,7 +5,7 @@
#ifdef DEBUG
# define PSTDERR(fmt, args...) do { dprintf(2,fmt, ## args); } while(0)
# define PDEBUG(fmt, args...) PSTDERR("DEBUG:pid[%d]:" fmt, getpid(), ## args)
# define PDEBUG(fmt, args...) PSTDERR("DEBUG:pid[%d]tid[%d]func[%s()]:" fmt, getpid(),gettid(),__FUNCTION__, ## args)
# define DEBUGDECL(args...) args
# define DUMP_PROXY_CHAIN(A, B) dump_proxy_chain(A, B)
# define DUMP_BUFFER(data, len) dump_buffer(data, len)