From 239ce845d986f6a40ef2304508a0d8d8ba3b9667 Mon Sep 17 00:00:00 2001 From: Alden Torres Date: Sun, 21 Feb 2016 22:55:06 -0500 Subject: [PATCH] More logging, custom dht storage test was working after all --- .../java/com/frostwire/jlibtorrent/plugins/DhtStorageBase.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/frostwire/jlibtorrent/plugins/DhtStorageBase.java b/src/main/java/com/frostwire/jlibtorrent/plugins/DhtStorageBase.java index f49c5366e..40c77f5d7 100644 --- a/src/main/java/com/frostwire/jlibtorrent/plugins/DhtStorageBase.java +++ b/src/main/java/com/frostwire/jlibtorrent/plugins/DhtStorageBase.java @@ -40,6 +40,9 @@ public boolean getPeers(Sha1Hash infoHash, boolean noseed, boolean scrape, entry TorrentEntry v = torrents.get(infoHash); if (v == null) { + if (print) { + print("get_peers", "no peers for: " + infoHash); + } return false; }