aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2022-09-07 12:26:30 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2022-09-07 12:26:30 +0300
commita241100808747712c798cb6b0635e7099b03fbc7 (patch)
tree7972f163737f116ae1705166a1093794ca5670ee
parent3cf51f8b9f88a4dc753d34da52f735f68a922826 (diff)
downloadydb-a241100808747712c798cb6b0635e7099b03fbc7.tar.gz
Update contrib/restricted/aws/aws-c-io to 0.13.4
-rw-r--r--contrib/restricted/aws/aws-c-io/source/event_loop.c6
-rw-r--r--contrib/restricted/aws/aws-c-io/source/posix/socket.c1
2 files changed, 3 insertions, 4 deletions
diff --git a/contrib/restricted/aws/aws-c-io/source/event_loop.c b/contrib/restricted/aws/aws-c-io/source/event_loop.c
index 5eb8a084ac4..4da4a762e37 100644
--- a/contrib/restricted/aws/aws-c-io/source/event_loop.c
+++ b/contrib/restricted/aws/aws-c-io/source/event_loop.c
@@ -63,16 +63,14 @@ static void s_aws_event_loop_group_shutdown_async(struct aws_event_loop_group *e
struct aws_thread cleanup_thread;
AWS_ZERO_STRUCT(cleanup_thread);
- AWS_FATAL_ASSERT(aws_thread_init(&cleanup_thread, el_group->allocator) == AWS_OP_SUCCESS);
+ aws_thread_init(&cleanup_thread, el_group->allocator);
struct aws_thread_options thread_options;
AWS_ZERO_STRUCT(thread_options);
thread_options.cpu_id = -1;
thread_options.join_strategy = AWS_TJS_MANAGED;
- AWS_FATAL_ASSERT(
- aws_thread_launch(&cleanup_thread, s_event_loop_destroy_async_thread_fn, el_group, &thread_options) ==
- AWS_OP_SUCCESS);
+ aws_thread_launch(&cleanup_thread, s_event_loop_destroy_async_thread_fn, el_group, &thread_options);
}
static struct aws_event_loop_group *s_event_loop_group_new(
diff --git a/contrib/restricted/aws/aws-c-io/source/posix/socket.c b/contrib/restricted/aws/aws-c-io/source/posix/socket.c
index 95b03cee410..ab41434eeb3 100644
--- a/contrib/restricted/aws/aws-c-io/source/posix/socket.c
+++ b/contrib/restricted/aws/aws-c-io/source/posix/socket.c
@@ -17,6 +17,7 @@
#include <aws/io/io.h>
#include <errno.h>
#include <fcntl.h>
+#include <inttypes.h>
#include <netinet/tcp.h>
#include <sys/socket.h>
#include <sys/types.h>