diff options
-rw-r--r-- | pjlib-util/src/pjlib-util-test/resolver_test.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pjlib-util/src/pjlib-util-test/resolver_test.c b/pjlib-util/src/pjlib-util-test/resolver_test.c index 9b2184e2..7a6cf62d 100644 --- a/pjlib-util/src/pjlib-util-test/resolver_test.c +++ b/pjlib-util/src/pjlib-util-test/resolver_test.c @@ -412,9 +412,9 @@ static int init(void) int i; nameservers[0] = pj_str("127.0.0.1"); - ports[0] = 553; + ports[0] = 5553; nameservers[1] = pj_str("127.0.0.1"); - ports[1] = 554; + ports[1] = 5554; g_server[0].port = ports[0]; g_server[1].port = ports[1]; @@ -1367,6 +1367,8 @@ int resolver_test(void) #endif rc = init(); + if (rc != 0) + goto on_error; rc = a_parser_test(); if (rc != 0) |