@@ -69,7 +69,7 @@ int aws_host_resolver_resolve_host(
6969 struct aws_host_resolver * resolver ,
7070 const struct aws_string * host_name ,
7171 aws_on_host_resolved_result_fn * res ,
72- struct aws_host_resolution_config * config ,
72+ const struct aws_host_resolution_config * config ,
7373 void * user_data ) {
7474 AWS_ASSERT (resolver -> vtable && resolver -> vtable -> resolve_host );
7575 return resolver -> vtable -> resolve_host (resolver , host_name , res , config , user_data );
@@ -1252,7 +1252,7 @@ static inline int create_and_init_host_entry(
12521252 struct aws_host_resolver * resolver ,
12531253 const struct aws_string * host_name ,
12541254 aws_on_host_resolved_result_fn * res ,
1255- struct aws_host_resolution_config * config ,
1255+ const struct aws_host_resolution_config * config ,
12561256 uint64_t timestamp ,
12571257 void * user_data ) {
12581258 struct host_entry * new_host_entry = aws_mem_calloc (resolver -> allocator , 1 , sizeof (struct host_entry ));
@@ -1381,7 +1381,7 @@ static int default_resolve_host(
13811381 struct aws_host_resolver * resolver ,
13821382 const struct aws_string * host_name ,
13831383 aws_on_host_resolved_result_fn * res ,
1384- struct aws_host_resolution_config * config ,
1384+ const struct aws_host_resolution_config * config ,
13851385 void * user_data ) {
13861386 int result = AWS_OP_SUCCESS ;
13871387
0 commit comments