(trunk) #5671 'dht-0.22': update third-party/dht.c to Juliusz Chroboczek's upstream v0.22

This commit is contained in:
Jordan Lee
2014-05-05 20:45:14 +00:00
parent b00b90c48c
commit 6ee973aaac
5 changed files with 50 additions and 8 deletions

View File

@@ -514,7 +514,7 @@ tr_dhtPrintableStatus (int status)
static void
callback (void *ignore UNUSED, int event,
unsigned char *info_hash, void *data, size_t data_len)
const unsigned char *info_hash, const void *data, size_t data_len)
{
if (event == DHT_EVENT_VALUES || event == DHT_EVENT_VALUES6) {
tr_torrent *tor;