summaryrefslogtreecommitdiff
path: root/opentracker.c
diff options
context:
space:
mode:
authorerdgeist <>2007-10-21 04:23:39 +0000
committererdgeist <>2007-10-21 04:23:39 +0000
commit42210450f3ce09f2aac4f94f8712cb87a1141419 (patch)
tree9bff8e72623a402eca44e10a3928f467e19a9d28 /opentracker.c
parent2cbb480865d41e7570a625761a5602bd5527d8f7 (diff)
Just one more typo
Diffstat (limited to 'opentracker.c')
-rw-r--r--opentracker.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/opentracker.c b/opentracker.c
index aefdc46..ae33e62 100644
--- a/opentracker.c
+++ b/opentracker.c
@@ -532,8 +532,9 @@ 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 " ) ) HTTPERROR_404; 535 if( !byte_diff( data, 9, "announce " ) ) goto ANNOUNCE_WORKAROUND;
536 goto ANNOUNCE_WORKAROUND; 536 if( !byte_diff( data, 9, "announce/" ) ) goto ANNOUNCE_WORKAROUND;
537 HTTPERROR_404;
537 case 10: 538 case 10:
538 if( byte_diff( data, 10, "scrape.php" ) ) HTTPERROR_404; 539 if( byte_diff( data, 10, "scrape.php" ) ) HTTPERROR_404;
539 goto SCRAPE_WORKAROUND; 540 goto SCRAPE_WORKAROUND;