diff options
author | erdgeist <> | 2007-10-21 04:37:37 +0000 |
---|---|---|
committer | erdgeist <> | 2007-10-21 04:37:37 +0000 |
commit | 6b2307015fb25caf0322b534135f64ba3d7c8136 (patch) | |
tree | a21d1adf5498eb722492d9556d2fa4266a3041db /opentracker.c | |
parent | 42210450f3ce09f2aac4f94f8712cb87a1141419 (diff) |
now accept more classes of announce fuckups
Diffstat (limited to 'opentracker.c')
-rw-r--r-- | opentracker.c | 3 |
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; |