1
0
mirror of https://github.com/rofl0r/proxychains-ng synced 2025-01-08 06:02:51 +08:00

fix indentation of debug.c

This commit is contained in:
rofl0r 2013-06-25 13:01:14 +02:00
parent 354a4ce4e2
commit 8a84f980bb

View File

@ -5,17 +5,17 @@
# include "debug.h" # include "debug.h"
void DUMP_PROXY_CHAIN(proxy_data *pchain, unsigned int count) { void DUMP_PROXY_CHAIN(proxy_data *pchain, unsigned int count) {
char ip_buf[16]; char ip_buf[16];
for (; count; pchain++, count--) { for (; count; pchain++, count--) {
pc_stringfromipv4(&pchain->ip.octet[0], ip_buf); pc_stringfromipv4(&pchain->ip.octet[0], ip_buf);
PDEBUG("[%s] %s %s:%d", proxy_state_strmap[pchain->ps], PDEBUG("[%s] %s %s:%d", proxy_state_strmap[pchain->ps],
proxy_type_strmap[pchain->pt], proxy_type_strmap[pchain->pt],
ip_buf, htons(pchain->port)); ip_buf, htons(pchain->port));
if (*pchain->user || *pchain->pass) { if (*pchain->user || *pchain->pass) {
PSTDERR(" [u=%s,p=%s]", pchain->user, pchain->pass); PSTDERR(" [u=%s,p=%s]", pchain->user, pchain->pass);
} }
PSTDERR("\n"); PSTDERR("\n");
} }
} }
#endif #endif