mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-10-14 09:55:33 +08:00
change print_binary_chars to log_debug
This commit is contained in:
@@ -611,6 +611,15 @@ char * ip_port_t::to_s()
|
||||
|
||||
|
||||
|
||||
void print_binary_chars(const char * a,int len)
|
||||
{
|
||||
for(int i=0;i<len;i++)
|
||||
{
|
||||
unsigned char b=a[i];
|
||||
log_bare(log_debug,"<%02x>",(int)b);
|
||||
}
|
||||
log_bare(log_debug,"\n");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user