Don't complain about unexpected DHT packets.
This commit is contained in:
parent
cc44725949
commit
62cb43a173
|
@ -592,10 +592,8 @@ tr_dhtCallback(unsigned char *buf, int buflen,
|
||||||
|
|
||||||
assert(tr_isSession(ss));
|
assert(tr_isSession(ss));
|
||||||
|
|
||||||
if(sv != session) {
|
if(sv != session)
|
||||||
tr_nerr("DHT", "tr_dhtCallback called for unexpected session");
|
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
|
|
||||||
rc = dht_periodic( buf, buflen, from, fromlen,
|
rc = dht_periodic( buf, buflen, from, fromlen,
|
||||||
&tosleep, callback, NULL);
|
&tosleep, callback, NULL);
|
||||||
|
|
Loading…
Reference in New Issue