summaryrefslogtreecommitdiff
path: root/tests/t_trackerlogic.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/t_trackerlogic.c')
-rw-r--r--tests/t_trackerlogic.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/t_trackerlogic.c b/tests/t_trackerlogic.c
index d3d8755..1cf9141 100644
--- a/tests/t_trackerlogic.c
+++ b/tests/t_trackerlogic.c
@@ -1,7 +1,5 @@
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
4 $id$ */
5 3
6/* System */ 4/* System */
7#include <arpa/inet.h> 5#include <arpa/inet.h>
@@ -226,7 +224,7 @@ void test_trackerlogic(void) {
226 pthread_sigmask(SIG_BLOCK, &signal_mask, NULL); 224 pthread_sigmask(SIG_BLOCK, &signal_mask, NULL);
227 225
228 trackerlogic_init(); 226 trackerlogic_init();
229 CHECK_INT(workstruct_init(&ws), 0); 227 CHECK_INT(workstruct_init(&ws, G_INBUF_SIZE), 0);
230 228
231 case_an_announce_makes_a_torrent(); 229 case_an_announce_makes_a_torrent();
232 case_the_same_peer_twice_is_one_peer(); 230 case_the_same_peer_twice_is_one_peer();