summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--opentracker.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/opentracker.c b/opentracker.c
index f592fd5..1139b9e 100644
--- a/opentracker.c
+++ b/opentracker.c
@@ -288,7 +288,7 @@ e500:
288 reply = malloc( 128 ); 288 reply = malloc( 128 );
289 { 289 {
290 unsigned long seconds_elapsed = time( NULL ) - ot_start_time; 290 unsigned long seconds_elapsed = time( NULL ) - ot_start_time;
291 reply_size = sprintf( reply, "%d\n%d\nUp: %ld seconds (%ld hours)\nPertuned by german engineers, currently handling %li connections per second.", 291 reply_size = sprintf( reply, "%d\n%d\nUp: %ld seconds (%ld hours)\nPretuned by german engineers, currently handling %li connections per second.",
292 ot_overall_connections, ot_overall_connections, seconds_elapsed, seconds_elapsed / 3600, ot_overall_connections / seconds_elapsed ? seconds_elapsed : 1 ); 292 ot_overall_connections, ot_overall_connections, seconds_elapsed, seconds_elapsed / 3600, ot_overall_connections / seconds_elapsed ? seconds_elapsed : 1 );
293 } 293 }
294 break; 294 break;
@@ -328,8 +328,7 @@ int main()
328 uint16 port; 328 uint16 port;
329 329
330 ot_start_time = time( NULL ); 330 ot_start_time = time( NULL );
331 331 if (socket_bind4_reuse(s,NULL,9090)==-1)
332 if (socket_bind4_reuse(s,NULL,6969)==-1)
333 panic("socket_bind4_reuse"); 332 panic("socket_bind4_reuse");
334 333
335 if (socket_listen(s,16)==-1) 334 if (socket_listen(s,16)==-1)