aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-03-31 10:26:53 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-03-31 10:26:53 -0700
commit8479c972e4f9fbf2a5bcf44048924c533d09a513 (patch)
tree508edd32b0d36a1b6f3887de42c8054330bd72a1 /src/core/lib/iomgr
parentb92bb96ccf0042cc37f4ee0aad3722a0c765b210 (diff)
parent2b9012362ca03181eefaec22238c6100e77bb736 (diff)
Merge github.com:grpc/grpc into cleaner-posix2
Diffstat (limited to 'src/core/lib/iomgr')
-rw-r--r--src/core/lib/iomgr/unix_sockets_posix_noop.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/unix_sockets_posix_noop.c b/src/core/lib/iomgr/unix_sockets_posix_noop.c
index 06f6ee05e7..43e006e15e 100644
--- a/src/core/lib/iomgr/unix_sockets_posix_noop.c
+++ b/src/core/lib/iomgr/unix_sockets_posix_noop.c
@@ -35,7 +35,12 @@
#ifndef GPR_HAVE_UNIX_SOCKET
-void grpc_create_socketpair_if_unix(int sv[2]) {}
+void grpc_create_socketpair_if_unix(int sv[2]) {
+ // TODO: Either implement this for the non-Unix socket case or make
+ // sure that it is never called in any such case. Until then, leave an
+ // assertion to notify if this gets called inadvertently
+ GPR_ASSERT(0);
+}
grpc_resolved_addresses *grpc_resolve_unix_domain_address(const char *name) {
return NULL;