summaryrefslogtreecommitdiff
path: root/opentracker.c
diff options
context:
space:
mode:
authordenis <>2006-12-15 22:46:01 +0000
committerdenis <>2006-12-15 22:46:01 +0000
commit9e93e6b6e18971811d706e16bdaa0c2a33829a65 (patch)
tree3f39809c4c6e22a16759faa7348391197d5afbe1 /opentracker.c
parent4761c70843d4c98e11e942b1a0837c51edc86c0d (diff)
fixed typo
Diffstat (limited to 'opentracker.c')
-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)