mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fixed a printf argument.
This commit is contained in:
parent
ff25b59fa6
commit
7bd9c8399c
|
@ -56,7 +56,7 @@ void print_clientlist()
|
|||
for(i = 0; i < 4; i++) {
|
||||
printf("ClientID: ");
|
||||
for(j = 0; j < 32; j++) {
|
||||
printf("%c", close_clientlist[i].client_id[j]);
|
||||
printf("%hhX", close_clientlist[i].client_id[j]);
|
||||
}
|
||||
p_ip = close_clientlist[i].ip_port;
|
||||
printf("\nIP: %u.%u.%u.%u Port: %u",p_ip.ip.c[0],p_ip.ip.c[1],p_ip.ip.c[2],p_ip.ip.c[3],ntohs(p_ip.port));
|
||||
|
|
Loading…
Reference in New Issue
Block a user