File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ ada_string ada_get_hostname(ada_url result);
68
68
ada_string ada_get_pathname (ada_url result );
69
69
ada_string ada_get_search (ada_url result );
70
70
ada_string ada_get_protocol (ada_url result );
71
- uint8_t ada_get_url_host_type (ada_url result );
71
+ uint8_t ada_get_host_type (ada_url result );
72
72
73
73
// url_aggregator setters
74
74
// if ada_is_valid(result)) is false, the setters have no effect
Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ ada_string ada_get_protocol(ada_url result) noexcept {
210
210
return ada_string_create (out.data (), out.length ());
211
211
}
212
212
213
- uint8_t ada_get_url_host_type (ada_url result) noexcept {
213
+ uint8_t ada_get_host_type (ada_url result) noexcept {
214
214
ada::result<ada::url_aggregator>& r = get_instance (result);
215
215
if (!r) {
216
216
return 0 ;
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ TEST(ada_c, setters) {
115
115
ada_set_protocol (url, " wss" , 3 );
116
116
ASSERT_EQ (convert_string (ada_get_protocol (url)), " wss:" );
117
117
118
- ASSERT_EQ (ada_get_url_host_type (url), 0 );
118
+ ASSERT_EQ (ada_get_host_type (url), 0 );
119
119
120
120
ada_free (url);
121
121
You can’t perform that action at this time.
0 commit comments