summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <>2007-10-15 18:03:13 +0000
committererdgeist <>2007-10-15 18:03:13 +0000
commit3dc470d67264a372102a6805c9ca242e00c5e0a5 (patch)
tree60c0e4aa16505ea2819a4a3a7b67b21c8a852f4e
parent65cc45f129fae1b961fa27615b7532c9380e4522 (diff)
fixed line breaks in log
-rw-r--r--opentracker.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/opentracker.c b/opentracker.c
index 052d9b9..a2fe24e 100644
--- a/opentracker.c
+++ b/opentracker.c
@@ -296,7 +296,7 @@ LOG_TO_STDERR( "sync: %d.%d.%d.%d\n", h->ip[0], h->ip[1], h->ip[2], h->ip[3] );
296 switch( mode) 296 switch( mode)
297 { 297 {
298 case STATS_DMEM: 298 case STATS_DMEM:
299LOG_TO_STDERR( "stats: %d.%d.%d.%d - mode: dmem", h->ip[0], h->ip[1], h->ip[2], h->ip[3] ); 299LOG_TO_STDERR( "stats: %d.%d.%d.%d - mode: dmem\n", h->ip[0], h->ip[1], h->ip[2], h->ip[3] );
300 300
301 if( !( reply_size = return_memstat_for_tracker( &reply ) ) ) HTTPERROR_500; 301 if( !( reply_size = return_memstat_for_tracker( &reply ) ) ) HTTPERROR_500;
302 return sendmallocdata( s, reply, reply_size ); 302 return sendmallocdata( s, reply, reply_size );
@@ -322,7 +322,7 @@ LOG_TO_STDERR( "stats: %d.%d.%d.%d - mode: dmem", h->ip[0], h->ip[1], h->ip[2],
322 break; 322 break;
323 case STATS_SLASH24S: 323 case STATS_SLASH24S:
324{ 324{
325LOG_TO_STDERR( "stats: %d.%d.%d.%d - mode: s24s", h->ip[0], h->ip[1], h->ip[2], h->ip[3] ); 325LOG_TO_STDERR( "stats: %d.%d.%d.%d - mode: s24s\n", h->ip[0], h->ip[1], h->ip[2], h->ip[3] );
326 326
327 ot_dword diff; struct timeval tv1, tv2; gettimeofday( &tv1, NULL ); 327 ot_dword diff; struct timeval tv1, tv2; gettimeofday( &tv1, NULL );
328 if( !( reply_size = return_stats_for_slash24s( SUCCESS_HTTP_HEADER_LENGTH + static_outbuf, 25, 16 ) ) ) HTTPERROR_500; 328 if( !( reply_size = return_stats_for_slash24s( SUCCESS_HTTP_HEADER_LENGTH + static_outbuf, 25, 16 ) ) ) HTTPERROR_500;
@@ -332,7 +332,7 @@ LOG_TO_STDERR( "stats: %d.%d.%d.%d - mode: s24s", h->ip[0], h->ip[1], h->ip[2],
332} 332}
333 case STATS_SLASH24S_OLD: 333 case STATS_SLASH24S_OLD:
334{ 334{
335LOG_TO_STDERR( "stats: %d.%d.%d.%d - mode: s24s old", h->ip[0], h->ip[1], h->ip[2], h->ip[3] ); 335LOG_TO_STDERR( "stats: %d.%d.%d.%d - mode: s24s old\n", h->ip[0], h->ip[1], h->ip[2], h->ip[3] );
336 336
337 ot_dword diff; struct timeval tv1, tv2; gettimeofday( &tv1, NULL ); 337 ot_dword diff; struct timeval tv1, tv2; gettimeofday( &tv1, NULL );
338 if( !( reply_size = return_stats_for_slash24s_old( SUCCESS_HTTP_HEADER_LENGTH + static_outbuf, 25, 16 ) ) ) HTTPERROR_500; 338 if( !( reply_size = return_stats_for_slash24s_old( SUCCESS_HTTP_HEADER_LENGTH + static_outbuf, 25, 16 ) ) ) HTTPERROR_500;
@@ -371,7 +371,7 @@ SCRAPE_WORKAROUND:
371 371
372 /* Scanned whole query string, no hash means full scrape... you might want to limit that */ 372 /* Scanned whole query string, no hash means full scrape... you might want to limit that */
373 if( !hash ) { 373 if( !hash ) {
374LOG_TO_STDERR( "scrp: %d.%d.%d.%d - FULL SCRAPE", h->ip[0], h->ip[1], h->ip[2], h->ip[3] ); 374LOG_TO_STDERR( "scrp: %d.%d.%d.%d - FULL SCRAPE\n", h->ip[0], h->ip[1], h->ip[2], h->ip[3] );
375 375
376 if( !( reply_size = return_fullscrape_for_tracker( &reply ) ) ) HTTPERROR_500; 376 if( !( reply_size = return_fullscrape_for_tracker( &reply ) ) ) HTTPERROR_500;
377 ot_overall_tcp_successfulannounces++; 377 ot_overall_tcp_successfulannounces++;