From 6b2307015fb25caf0322b534135f64ba3d7c8136 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Sun, 21 Oct 2007 04:37:37 +0000 Subject: now accept more classes of announce fuckups --- opentracker.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/opentracker.c b/opentracker.c index ae33e62..a4c6304 100644 --- a/opentracker.c +++ b/opentracker.c @@ -532,8 +532,7 @@ ANNOUNCE_WORKAROUND: ot_overall_tcp_successfulannounces++; break; case 9: - if( !byte_diff( data, 9, "announce " ) ) goto ANNOUNCE_WORKAROUND; - if( !byte_diff( data, 9, "announce/" ) ) goto ANNOUNCE_WORKAROUND; + if( !byte_diff( data, 8, "announce" ) ) goto ANNOUNCE_WORKAROUND; HTTPERROR_404; case 10: if( byte_diff( data, 10, "scrape.php" ) ) HTTPERROR_404; -- cgit v1.2.3