diff options
author | Determinant <[email protected]> | 2019-06-28 15:37:22 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2019-06-28 15:37:22 -0400 |
commit | 710e9e8961cf5039b425e66d2042942b7e4af0c8 (patch) | |
tree | f69db46552945e945b5603d1d254df7e77d17b26 /test/test_msgnet_c.c | |
parent | d28bf1b0c8baec3c5ab40cfb988ff974f98da439 (diff) |
clean up code
Diffstat (limited to 'test/test_msgnet_c.c')
-rw-r--r-- | test/test_msgnet_c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_msgnet_c.c b/test/test_msgnet_c.c index 753c70f..1417d2b 100644 --- a/test/test_msgnet_c.c +++ b/test/test_msgnet_c.c @@ -170,8 +170,8 @@ void on_term_signal(int sig, void *userdata) { int main() { ec = eventcontext_new(); - netaddr_t *alice_addr = netaddr_new_from_sipport("127.0.0.1:12345"); - netaddr_t *bob_addr = netaddr_new_from_sipport("127.0.0.1:12346"); + netaddr_t *alice_addr = netaddr_new_from_sipport("127.0.0.1:12345", &err); + netaddr_t *bob_addr = netaddr_new_from_sipport("127.0.0.1:12346", &err); /* test two nodes in the same main loop */ alice = gen_mynet(ec, "Alice"); |