forked from premiere/premiere-libtorrent
m_num_peers is a regular int, not long: print %d instead of %ld.
This commit is contained in:
parent
d138104c85
commit
27fe9822ad
|
@ -1807,7 +1807,7 @@ namespace libtorrent {
|
|||
char ih_hex[41];
|
||||
to_hex((const char*)&info_hash[0], 20, ih_hex);
|
||||
char msg[200];
|
||||
snprintf(msg, sizeof(msg), "incoming dht get_peers reply: %s, peers %ld", ih_hex, m_num_peers);
|
||||
snprintf(msg, sizeof(msg), "incoming dht get_peers reply: %s, peers %d", ih_hex, m_num_peers);
|
||||
return msg;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue