From 62cb43a1734b7eb2c968b10fd62a2069f32a78fa Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Sun, 9 Jan 2011 23:54:54 +0000 Subject: [PATCH] Don't complain about unexpected DHT packets. --- libtransmission/tr-dht.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libtransmission/tr-dht.c b/libtransmission/tr-dht.c index 5b6619277..955ff27c1 100644 --- a/libtransmission/tr-dht.c +++ b/libtransmission/tr-dht.c @@ -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);