diff options
author | erdgeist <> | 2007-10-23 00:30:46 +0000 |
---|---|---|
committer | erdgeist <> | 2007-10-23 00:30:46 +0000 |
commit | 1fce733ea0037d67fd07d6738bed92da3ae7c81a (patch) | |
tree | fa8c5151f955c9820a59c792916b97a317172030 | |
parent | 3b042b838a93dae7dd410ed24a9129c1d63da100 (diff) |
Accept clients that forget to spell announce at all...
-rw-r--r-- | opentracker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opentracker.c b/opentracker.c index 68d7a2e..41df0ee 100644 --- a/opentracker.c +++ b/opentracker.c | |||
@@ -555,7 +555,7 @@ ANNOUNCE_WORKAROUND: | |||
555 | ot_overall_tcp_connections+ot_overall_udp_connections, ot_overall_tcp_successfulannounces+ot_overall_udp_successfulannounces, (int)t, (int)(t / 3600), (ot_overall_tcp_connections+ot_overall_udp_connections) / ( (unsigned int)t ? (unsigned int)t : 1 ) ); | 555 | ot_overall_tcp_connections+ot_overall_udp_connections, ot_overall_tcp_successfulannounces+ot_overall_udp_successfulannounces, (int)t, (int)(t / 3600), (ot_overall_tcp_connections+ot_overall_udp_connections) / ( (unsigned int)t ? (unsigned int)t : 1 ) ); |
556 | break; | 556 | break; |
557 | default: | 557 | default: |
558 | if( *data == 'a' ) goto ANNOUNCE_WORKAROUND; | 558 | if( ( *data == 'a' ) || ( *data == '?' ) ) goto ANNOUNCE_WORKAROUND; |
559 | if( !byte_diff( data, 2, "sc" ) ) goto SCRAPE_WORKAROUND; | 559 | if( !byte_diff( data, 2, "sc" ) ) goto SCRAPE_WORKAROUND; |
560 | HTTPERROR_404; | 560 | HTTPERROR_404; |
561 | } | 561 | } |