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
1 changed files with 1 additions and 3 deletions

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);