aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/unix_sockets_posix_noop.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-03-31 10:37:37 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-03-31 10:37:37 -0700
commitf8a519e629ca4e540ddfe65c94ff1034d3eb7482 (patch)
treeb68afc00c28b9423bfd930774be021eb03b97e8c /src/core/lib/iomgr/unix_sockets_posix_noop.c
parent3a29ec11d1eb123488cf3314e0a48bdaf1001a64 (diff)
parenta353e9d7cd8ba1a73bcc13238e48a2eef7f07abd (diff)
Merge branch 'cleaner-posix2' into cleaner-posix3
Diffstat (limited to 'src/core/lib/iomgr/unix_sockets_posix_noop.c')
-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;