1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 16:52:39 +00:00

Don't complain about unexpected DHT packets.

This commit is contained in:
Juliusz Chroboczek 2011-01-09 23:54:54 +00:00
parent cc44725949
commit 62cb43a173

View file

@ -592,10 +592,8 @@ tr_dhtCallback(unsigned char *buf, int buflen,
assert(tr_isSession(ss));
if(sv != session) {
tr_nerr("DHT", "tr_dhtCallback called for unexpected session");
if(sv != session)
return;
}
rc = dht_periodic( buf, buflen, from, fromlen,
&tosleep, callback, NULL);