summaryrefslogtreecommitdiff
path: root/auto_tests
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2015-03-12 13:03:14 -0400
committerirungentoo <irungentoo@gmail.com>2015-03-12 13:03:14 -0400
commit7afab000f70c8a9d8070492fb42fb57bede4a75c (patch)
treea5f34d24974671659936151c4734eb275162ec9e /auto_tests
parent4ee017078b1c8bbdf5f61b17194163768f3b0ad8 (diff)
tox_new now sets error to TOX_ERR_NEW_PORT_ALLOC when binding to port fails.
Diffstat (limited to 'auto_tests')
-rw-r--r--auto_tests/messenger_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_tests/messenger_test.c b/auto_tests/messenger_test.c
index 8c71d6e7..2e1fe92a 100644
--- a/auto_tests/messenger_test.c
+++ b/auto_tests/messenger_test.c
@@ -337,7 +337,7 @@ int main(int argc, char *argv[])
337 /* IPv6 status from global define */ 337 /* IPv6 status from global define */
338 Messenger_Options options = {0}; 338 Messenger_Options options = {0};
339 options.ipv6enabled = TOX_ENABLE_IPV6_DEFAULT; 339 options.ipv6enabled = TOX_ENABLE_IPV6_DEFAULT;
340 m = new_messenger(&options); 340 m = new_messenger(&options, 0);
341 341
342 /* setup a default friend and friendnum */ 342 /* setup a default friend and friendnum */
343 if (m_addfriend_norequest(m, (uint8_t *)friend_id) < 0) 343 if (m_addfriend_norequest(m, (uint8_t *)friend_id) < 0)