mirror of
https://github.com/rofl0r/proxychains-ng
synced 2025-01-23 09:33:00 +08:00
change debug format
This commit is contained in:
parent
803f8a61b4
commit
0322811965
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
# define PSTDERR(fmt, args...) do { dprintf(2,fmt, ## args); } while(0)
|
# 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 DEBUGDECL(args...) args
|
||||||
# define DUMP_PROXY_CHAIN(A, B) dump_proxy_chain(A, B)
|
# define DUMP_PROXY_CHAIN(A, B) dump_proxy_chain(A, B)
|
||||||
# define DUMP_BUFFER(data, len) dump_buffer(data, len)
|
# define DUMP_BUFFER(data, len) dump_buffer(data, len)
|
||||||
|
Loading…
Reference in New Issue
Block a user