summaryrefslogtreecommitdiff
path: root/trackerlogic.c
diff options
context:
space:
mode:
authorerdgeist <>2007-01-05 16:25:02 +0000
committererdgeist <>2007-01-05 16:25:02 +0000
commit9f63a7bd634d56e8deb3b6b05cd78e27bfb47a79 (patch)
tree3c3524d84bd7d285302f79931184cf1843017082 /trackerlogic.c
parentc89cfaad5eedcb214733c315b33168cc55f979b6 (diff)
really check g_check_blacklist flag
Diffstat (limited to 'trackerlogic.c')
-rw-r--r--trackerlogic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trackerlogic.c b/trackerlogic.c
index 620e056..32f0080 100644
--- a/trackerlogic.c
+++ b/trackerlogic.c
@@ -166,7 +166,7 @@ ot_torrent *add_peer_to_torrent( ot_hash *hash, ot_peer *peer ) {
166#endif 166#endif
167 167
168#ifdef WANT_BLACKLIST 168#ifdef WANT_BLACKLIST
169 if( stat( fn - 1, &dummy_sb ) ) 169 if( g_check_blacklist && stat( fn - 1, &dummy_sb ) )
170 return OT_TORRENT_ON_BLACKLIST; 170 return OT_TORRENT_ON_BLACKLIST;
171#endif 171#endif
172 172