diff options
author | Craig Tiller <ctiller@google.com> | 2017-10-02 15:16:46 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-10-02 15:16:46 -0700 |
commit | 5bc68e9750d6046d348a3ef8ffa4909a435e3e3c (patch) | |
tree | 3e6fba521ed743e41656172267d3c200a4b07c6f /src/core/lib | |
parent | 43c1b5f4377d3f1640b7bdae099cd3300a624bc0 (diff) |
Fixes
Diffstat (limited to 'src/core/lib')
-rw-r--r-- | src/core/lib/iomgr/iocp_windows.c | 1 | ||||
-rw-r--r-- | src/core/lib/iomgr/tcp_client_windows.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/iocp_windows.c b/src/core/lib/iomgr/iocp_windows.c index a6e064c8c0..336cc86c75 100644 --- a/src/core/lib/iomgr/iocp_windows.c +++ b/src/core/lib/iomgr/iocp_windows.c @@ -26,6 +26,7 @@ #include <grpc/support/log.h> #include <grpc/support/log_windows.h> #include <grpc/support/thd.h> +#include <grpc/support/useful.h> #include "src/core/lib/debug/stats.h" #include "src/core/lib/iomgr/iocp_windows.h" diff --git a/src/core/lib/iomgr/tcp_client_windows.c b/src/core/lib/iomgr/tcp_client_windows.c index bf8016506a..532d956a8e 100644 --- a/src/core/lib/iomgr/tcp_client_windows.c +++ b/src/core/lib/iomgr/tcp_client_windows.c @@ -203,7 +203,7 @@ static void tcp_client_connect_impl( GRPC_CLOSURE_INIT(&ac->on_connect, on_connect, ac, grpc_schedule_on_exec_ctx); GRPC_CLOSURE_INIT(&ac->on_alarm, on_alarm, ac, grpc_schedule_on_exec_ctx); - grpc_timer_init(exec_ctx, &ac->alarm, deadline, &ac->on_alarm, ); + grpc_timer_init(exec_ctx, &ac->alarm, deadline, &ac->on_alarm); grpc_socket_notify_on_write(exec_ctx, socket, &ac->on_connect); return; |