1
0
mirror of https://github.com/rofl0r/proxychains-ng synced 2026-05-31 03:29:58 +08:00

print everything to stderr, and fflush on PDEBUG

This commit is contained in:
rofl0r
2012-07-08 04:12:17 +02:00
Unverified
parent 1fc7e38ee0
commit 364c785970
2 changed files with 9 additions and 16 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ int proxy_getaddrinfo(const char *node, const char *service,
void pc_stringfromipv4(unsigned char *ip_buf_4_bytes, char *outbuf_16_bytes);
#ifdef DEBUG
# define PDEBUG(fmt, args...) fprintf(stderr,"DEBUG:"fmt, ## args)
# define PDEBUG(fmt, args...) do { fprintf(stderr,"DEBUG:"fmt, ## args); fflush(stderr); } while(0)
#else
# define PDEBUG(fmt, args...) do {} while (0)
#endif