1
0
mirror of git://erdgeist.org/opentracker synced 2025-01-13 08:20:06 +00:00

Just one more typo

This commit is contained in:
erdgeist 2007-10-21 04:23:39 +00:00
parent 2cbb480865
commit 42210450f3

View File

@ -532,8 +532,9 @@ ANNOUNCE_WORKAROUND:
ot_overall_tcp_successfulannounces++;
break;
case 9:
if( byte_diff( data, 9, "announce " ) ) HTTPERROR_404;
goto ANNOUNCE_WORKAROUND;
if( !byte_diff( data, 9, "announce " ) ) goto ANNOUNCE_WORKAROUND;
if( !byte_diff( data, 9, "announce/" ) ) goto ANNOUNCE_WORKAROUND;
HTTPERROR_404;
case 10:
if( byte_diff( data, 10, "scrape.php" ) ) HTTPERROR_404;
goto SCRAPE_WORKAROUND;