Package: transmission / 2.94-2

patch-vendored-libdht.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
--- a/third-party/dht/dht.c
+++ b/third-party/dht/dht.c
@@ -2578,7 +2578,7 @@ send_closest_nodes(const struct sockaddr
     int numnodes = 0, numnodes6 = 0;
     struct bucket *b;
 
-    if(want < 0)
+    if(want <= 0)
         want = sa->sa_family == AF_INET ? WANT4 : WANT6;
 
     if((want & WANT4)) {