mirror of
				git://erdgeist.org/opentracker
				synced 2025-11-04 11:53:22 +08:00 
			
		
		
		
	fixed typo
This commit is contained in:
		
							parent
							
								
									4761c70843
								
							
						
					
					
						commit
						9e93e6b6e1
					
				@ -288,7 +288,7 @@ e500:
 | 
				
			|||||||
      reply = malloc( 128 );
 | 
					      reply = malloc( 128 );
 | 
				
			||||||
      { 
 | 
					      { 
 | 
				
			||||||
        unsigned long seconds_elapsed = time( NULL ) - ot_start_time;
 | 
					        unsigned long seconds_elapsed = time( NULL ) - ot_start_time;
 | 
				
			||||||
        reply_size = sprintf( reply, "%d\n%d\nUp: %ld seconds (%ld hours)\nPertuned by german engineers, currently handling %li connections per second.",
 | 
					        reply_size = sprintf( reply, "%d\n%d\nUp: %ld seconds (%ld hours)\nPretuned by german engineers, currently handling %li connections per second.",
 | 
				
			||||||
        ot_overall_connections, ot_overall_connections, seconds_elapsed, seconds_elapsed / 3600, ot_overall_connections / seconds_elapsed ? seconds_elapsed : 1 );
 | 
					        ot_overall_connections, ot_overall_connections, seconds_elapsed, seconds_elapsed / 3600, ot_overall_connections / seconds_elapsed ? seconds_elapsed : 1 );
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      break;
 | 
					      break;
 | 
				
			||||||
@ -328,8 +328,7 @@ int main()
 | 
				
			|||||||
    uint16 port;
 | 
					    uint16 port;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    ot_start_time = time( NULL );
 | 
					    ot_start_time = time( NULL );
 | 
				
			||||||
 | 
					    if (socket_bind4_reuse(s,NULL,9090)==-1)
 | 
				
			||||||
    if (socket_bind4_reuse(s,NULL,6969)==-1)
 | 
					 | 
				
			||||||
        panic("socket_bind4_reuse");
 | 
					        panic("socket_bind4_reuse");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (socket_listen(s,16)==-1)
 | 
					    if (socket_listen(s,16)==-1)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user