diff --git a/tester/register_tester.c b/tester/register_tester.c index 6e5f3a104..dc53de9fa 100644 --- a/tester/register_tester.c +++ b/tester/register_tester.c @@ -1246,14 +1246,14 @@ static void multi_devices_register_with_gruu(void) { linphone_core_add_supported_tag(marie->lc,"gruu"); linphone_core_manager_start(marie,TRUE); LinphoneProxyConfig *cfg=linphone_core_get_default_proxy_config(marie->lc); - + if(cfg) { const LinphoneAddress *addr = linphone_proxy_config_get_contact(cfg); BC_ASSERT_PTR_NOT_NULL(addr); BC_ASSERT_STRING_EQUAL(linphone_address_get_domain(addr),linphone_proxy_config_get_domain(cfg)); BC_ASSERT_TRUE(linphone_address_has_uri_param(addr,"gr")); } - + linphone_core_set_network_reachable(marie->lc,FALSE); /*to make sure first instance is not unregistered*/ linphone_core_manager_destroy(marie); @@ -1268,7 +1268,7 @@ static void multi_devices_register_with_gruu(void) { BC_ASSERT_STRING_EQUAL(linphone_address_get_domain(addr),linphone_proxy_config_get_domain(cfg)); BC_ASSERT_TRUE(linphone_address_has_uri_param(addr,"gr")); } - + linphone_core_manager_destroy(marie); } @@ -1280,7 +1280,7 @@ static void register_without_regid(void) { if(cfg) { const LinphoneAddress *addr = linphone_proxy_config_get_contact(cfg); BC_ASSERT_PTR_NOT_NULL(addr); - BC_ASSERT_PTR_NOT_NULL(strstr(linphone_address_as_string_uri_only(addr), "regid")); + BC_ASSERT_PTR_NULL(strstr(linphone_address_as_string_uri_only(addr), "regid")); } linphone_core_manager_destroy(marie); }