mirror of
				git://erdgeist.org/opentracker
				synced 2025-11-04 03:43:23 +08:00 
			
		
		
		
	Accept clients that forget to spell announce at all...
This commit is contained in:
		
							parent
							
								
									3b042b838a
								
							
						
					
					
						commit
						1fce733ea0
					
				@ -555,7 +555,7 @@ ANNOUNCE_WORKAROUND:
 | 
				
			|||||||
                          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 ) );
 | 
					                          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 ) );
 | 
				
			||||||
    break;
 | 
					    break;
 | 
				
			||||||
  default:
 | 
					  default:
 | 
				
			||||||
    if( *data == 'a' ) goto ANNOUNCE_WORKAROUND;
 | 
					    if( ( *data == 'a' ) || ( *data == '?' ) ) goto ANNOUNCE_WORKAROUND;
 | 
				
			||||||
    if( !byte_diff( data, 2, "sc" ) ) goto SCRAPE_WORKAROUND;
 | 
					    if( !byte_diff( data, 2, "sc" ) ) goto SCRAPE_WORKAROUND;
 | 
				
			||||||
    HTTPERROR_404;
 | 
					    HTTPERROR_404;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user