summaryrefslogtreecommitdiff
path: root/opentracker.c
diff options
context:
space:
mode:
authorerdgeist <>2007-10-21 04:37:37 +0000
committererdgeist <>2007-10-21 04:37:37 +0000
commit6b2307015fb25caf0322b534135f64ba3d7c8136 (patch)
treea21d1adf5498eb722492d9556d2fa4266a3041db /opentracker.c
parent42210450f3ce09f2aac4f94f8712cb87a1141419 (diff)
now accept more classes of announce fuckups
Diffstat (limited to 'opentracker.c')
-rw-r--r--opentracker.c3
1 files changed, 1 insertions, 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:
532 ot_overall_tcp_successfulannounces++; 532 ot_overall_tcp_successfulannounces++;
533 break; 533 break;
534 case 9: 534 case 9:
535 if( !byte_diff( data, 9, "announce " ) ) goto ANNOUNCE_WORKAROUND; 535 if( !byte_diff( data, 8, "announce" ) ) goto ANNOUNCE_WORKAROUND;
536 if( !byte_diff( data, 9, "announce/" ) ) goto ANNOUNCE_WORKAROUND;
537 HTTPERROR_404; 536 HTTPERROR_404;
538 case 10: 537 case 10:
539 if( byte_diff( data, 10, "scrape.php" ) ) HTTPERROR_404; 538 if( byte_diff( data, 10, "scrape.php" ) ) HTTPERROR_404;