summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ot_clean.c2
-rw-r--r--ot_clean.h2
-rw-r--r--ot_stats.c2
-rw-r--r--ot_sync.h2
-rw-r--r--ot_vector.h2
-rw-r--r--trackerlogic.c3
6 files changed, 7 insertions, 6 deletions
diff --git a/ot_clean.c b/ot_clean.c
index 46b3e0c..509dd2e 100644
--- a/ot_clean.c
+++ b/ot_clean.c
@@ -116,4 +116,4 @@ void clean_init( void ) {
116 116
117void clean_deinit( void ) { 117void clean_deinit( void ) {
118 byte_zero( all_torrents_clean, sizeof( all_torrents_clean ) ); 118 byte_zero( all_torrents_clean, sizeof( all_torrents_clean ) );
119} \ No newline at end of file 119}
diff --git a/ot_clean.h b/ot_clean.h
index 9c2fe11..747b13a 100644
--- a/ot_clean.h
+++ b/ot_clean.h
@@ -12,4 +12,4 @@ void clean_deinit( void );
12void clean_all_torrents( void ); 12void clean_all_torrents( void );
13int clean_single_torrent( ot_torrent *torrent ); 13int clean_single_torrent( ot_torrent *torrent );
14 14
15#endif \ No newline at end of file 15#endif
diff --git a/ot_stats.c b/ot_stats.c
index 215d557..93cbd39 100644
--- a/ot_stats.c
+++ b/ot_stats.c
@@ -198,4 +198,4 @@ size_t return_memstat_for_tracker( char **reply ) {
198 fix_mmapallocation( *reply, allocated, replysize ); 198 fix_mmapallocation( *reply, allocated, replysize );
199 199
200 return replysize; 200 return replysize;
201} \ No newline at end of file 201}
diff --git a/ot_sync.h b/ot_sync.h
index cf0fb3d..eb9c002 100644
--- a/ot_sync.h
+++ b/ot_sync.h
@@ -11,4 +11,4 @@ size_t return_changeset_for_tracker( char **reply );
11int add_changeset_to_tracker( ot_byte *data, size_t len ); 11int add_changeset_to_tracker( ot_byte *data, size_t len );
12#endif 12#endif
13 13
14#endif \ No newline at end of file 14#endif
diff --git a/ot_vector.h b/ot_vector.h
index 8863855..c99a8b4 100644
--- a/ot_vector.h
+++ b/ot_vector.h
@@ -23,4 +23,4 @@ void *vector_find_or_insert( ot_vector *vector, void *key, size_t member_size, s
23int vector_remove_peer( ot_vector *vector, ot_peer *peer, int hysteresis ); 23int vector_remove_peer( ot_vector *vector, ot_peer *peer, int hysteresis );
24void vector_remove_torrent( ot_vector *vector, ot_torrent *match ); 24void vector_remove_torrent( ot_vector *vector, ot_torrent *match );
25 25
26#endif \ No newline at end of file 26#endif
diff --git a/trackerlogic.c b/trackerlogic.c
index c09f1b9..86ab512 100644
--- a/trackerlogic.c
+++ b/trackerlogic.c
@@ -5,6 +5,7 @@
5#include <stdlib.h> 5#include <stdlib.h>
6#include <string.h> 6#include <string.h>
7#include <stdio.h> 7#include <stdio.h>
8#include <arpa/inet.h>
8#include <sys/types.h> 9#include <sys/types.h>
9#include <sys/mman.h> 10#include <sys/mman.h>
10#include <unistd.h> 11#include <unistd.h>
@@ -416,4 +417,4 @@ void trackerlogic_deinit( void ) {
416 } 417 }
417 mutex_deinit( ); 418 mutex_deinit( );
418 clean_deinit( ); 419 clean_deinit( );
419} \ No newline at end of file 420}