summaryrefslogtreecommitdiff
path: root/trackerlogic.c
diff options
context:
space:
mode:
authorerdgeist <>2008-10-28 01:27:22 +0000
committererdgeist <>2008-10-28 01:27:22 +0000
commitdaaee855b251b1c5368b6a577a5fcba4bf7828c6 (patch)
treee453fbc06cb15b6b970f33abbff9d3bc8240b8ad /trackerlogic.c
parent55d03b9a1b7344fde72b5474734ea53ff766d1d4 (diff)
Whitespace fixes
Diffstat (limited to 'trackerlogic.c')
-rw-r--r--trackerlogic.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/trackerlogic.c b/trackerlogic.c
index 8e33695..3d9ca5e 100644
--- a/trackerlogic.c
+++ b/trackerlogic.c
@@ -1,6 +1,6 @@
1/* This software was written by Dirk Engling <erdgeist@erdgeist.org> 1/* This software was written by Dirk Engling <erdgeist@erdgeist.org>
2 It is considered beerware. Prost. Skol. Cheers or whatever. 2 It is considered beerware. Prost. Skol. Cheers or whatever.
3 3
4 $id$ */ 4 $id$ */
5 5
6/* System */ 6/* System */
@@ -277,7 +277,7 @@ size_t remove_peer_from_torrent( ot_hash *hash, ot_peer *peer, char *reply, PROT
277 ot_torrent *torrent = binary_search( hash, torrents_list->data, torrents_list->size, sizeof( ot_torrent ), OT_HASH_COMPARE_SIZE, &exactmatch ); 277 ot_torrent *torrent = binary_search( hash, torrents_list->data, torrents_list->size, sizeof( ot_torrent ), OT_HASH_COMPARE_SIZE, &exactmatch );
278 ot_peerlist *peer_list; 278 ot_peerlist *peer_list;
279 279
280#ifdef WANT_SYNC_LIVE 280#ifdef WANT_SYNC_LIVE
281 if( proto != FLAG_MCA ) 281 if( proto != FLAG_MCA )
282 livesync_tell( hash, peer, PEER_FLAG_STOPPED ); 282 livesync_tell( hash, peer, PEER_FLAG_STOPPED );
283#endif 283#endif
@@ -294,7 +294,7 @@ size_t remove_peer_from_torrent( ot_hash *hash, ot_peer *peer, char *reply, PROT
294 ((uint32_t*)reply)[3] = ((uint32_t*)reply)[4] = 0; 294 ((uint32_t*)reply)[3] = ((uint32_t*)reply)[4] = 0;
295 return (size_t)20; 295 return (size_t)20;
296 } 296 }
297 297
298 if( proto == FLAG_MCA ) 298 if( proto == FLAG_MCA )
299 return 0; 299 return 0;
300 } 300 }
@@ -343,7 +343,7 @@ int trackerlogic_init( const char * const serverdir ) {
343 343
344 srandom( time(NULL) ); 344 srandom( time(NULL) );
345 g_tracker_id = random(); 345 g_tracker_id = random();
346 346
347 /* Initialise background worker threads */ 347 /* Initialise background worker threads */
348 mutex_init( ); 348 mutex_init( );
349 clean_init( ); 349 clean_init( );