aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/resolve_address_windows.cc
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2017-11-27 15:35:21 -0800
committerGravatar Yash Tibrewal <yashkt@google.com>2017-11-27 15:35:21 -0800
commit45b7ad5cf51ad97314d769ed70cfcda53d41b9d1 (patch)
treed064d8a98d9c4f7289840f221b23caf97329944b /src/core/lib/iomgr/resolve_address_windows.cc
parent6fbe010851bd2041e98468f5befef5d6e3d598b0 (diff)
GPR_TLS Macro fix, and windows resolve_address fix
Diffstat (limited to 'src/core/lib/iomgr/resolve_address_windows.cc')
-rw-r--r--src/core/lib/iomgr/resolve_address_windows.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/resolve_address_windows.cc b/src/core/lib/iomgr/resolve_address_windows.cc
index 4e2bc7b5ca..ccb1dae689 100644
--- a/src/core/lib/iomgr/resolve_address_windows.cc
+++ b/src/core/lib/iomgr/resolve_address_windows.cc
@@ -51,6 +51,7 @@ typedef struct {
static grpc_error* blocking_resolve_address_impl(
const char* name, const char* default_port,
grpc_resolved_addresses** addresses) {
+ grpc_core::ExecCtx exec_ctx;
struct addrinfo hints;
struct addrinfo *result = NULL, *resp;
char* host;