From daaee855b251b1c5368b6a577a5fcba4bf7828c6 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Tue, 28 Oct 2008 01:27:22 +0000 Subject: Whitespace fixes --- ot_livesync.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ot_livesync.c') diff --git a/ot_livesync.c b/ot_livesync.c index 92c947c..3e27c9a 100644 --- a/ot_livesync.c +++ b/ot_livesync.c @@ -1,6 +1,6 @@ /* This software was written by Dirk Engling It is considered beerware. Prost. Skol. Cheers or whatever. - + $id$ */ /* System */ @@ -54,7 +54,7 @@ void livesync_init( ) { pthread_create( &thread_id, NULL, livesync_worker, NULL ); } - + void livesync_deinit() { pthread_cancel( thread_id ); } @@ -106,7 +106,7 @@ void livesync_tell( ot_hash * const info_hash, const ot_peer * const peer, const stuck when there's not enough traffic to fill udp packets fast enough */ void livesync_ticker( ) { - if( ( g_now - livesync_lastpacket_time > LIVESYNC_MAXDELAY) && + if( ( g_now - livesync_lastpacket_time > LIVESYNC_MAXDELAY) && ( livesync_outbuffer_pos > livesync_outbuffer_start + sizeof( g_tracker_id ) ) ) livesync_issuepacket(); } @@ -115,7 +115,7 @@ static void * livesync_worker( void * args ) { uint8_t in_ip[4]; uint16_t in_port; ssize_t datalen; int off; - + args = args; while( 1 ) { -- cgit v1.2.3