Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/aws/io/host_resolver.h
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ AWS_IO_API int aws_default_dns_resolve(
*/
AWS_IO_API struct aws_host_resolver *aws_host_resolver_new_default(
struct aws_allocator *allocator,
struct aws_host_resolver_default_options *options);
const struct aws_host_resolver_default_options *options);

/**
* Increments the reference count on the host resolver, allowing the caller to take a reference to it.
Expand Down
2 changes: 1 addition & 1 deletion source/host_resolver.c
Original file line number Diff line number Diff line change
Expand Up @@ -1553,7 +1553,7 @@ static void s_aws_host_resolver_destroy(struct aws_host_resolver *resolver) {

struct aws_host_resolver *aws_host_resolver_new_default(
struct aws_allocator *allocator,
struct aws_host_resolver_default_options *options) {
const struct aws_host_resolver_default_options *options) {
AWS_FATAL_ASSERT(options != NULL);

/* NOTE: we don't use el_group yet, but we will in the future. Also, we
Expand Down