summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-08-14 15:27:34 -0400
committerirungentoo <irungentoo@gmail.com>2014-08-14 15:27:34 -0400
commit1298932deb6c05a6ae525fc85159d4485c7be210 (patch)
tree349237ea656434ad56a7a2d3a654cc2f8c572f28 /testing
parentdbab15cf0c1f260367c37354ed92d6ae1be828a1 (diff)
UDP can now be disabled.
new_messenger() now takes an options struct as an argument.
Diffstat (limited to 'testing')
-rw-r--r--testing/Messenger_test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/testing/Messenger_test.c b/testing/Messenger_test.c
index 905bcef4..42cadf73 100644
--- a/testing/Messenger_test.c
+++ b/testing/Messenger_test.c
@@ -110,7 +110,9 @@ int main(int argc, char *argv[])
110 exit(0); 110 exit(0);
111 } 111 }
112 112
113 m = new_messenger(ipv6enabled); 113 Messenger_Options options = {0};
114 options.ipv6enabled = ipv6enabled;
115 m = new_messenger(&options);
114 116
115 if ( !m ) { 117 if ( !m ) {
116 fputs("Failed to allocate messenger datastructure\n", stderr); 118 fputs("Failed to allocate messenger datastructure\n", stderr);