diff options
author | Vijay Pai <vpai@google.com> | 2016-03-24 10:34:27 -0700 |
---|---|---|
committer | Vijay Pai <vpai@google.com> | 2016-03-24 10:34:27 -0700 |
commit | 81dbf84ded56f5f0fe8884e0bc151167fd5bec1c (patch) | |
tree | f8242120a5f86a2663c44ca41564a0646bf64d4d /src/core | |
parent | 968483ff955513c2bf8a41b56bf8ab5eeea379bc (diff) |
Change empty function to an assert since calling this code would be very
bad right now. Added a TODO
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/iomgr/unix_sockets_posix_noop.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/iomgr/unix_sockets_posix_noop.c b/src/core/iomgr/unix_sockets_posix_noop.c index 045467bea4..5e797dbdc4 100644 --- a/src/core/iomgr/unix_sockets_posix_noop.c +++ b/src/core/iomgr/unix_sockets_posix_noop.c @@ -35,7 +35,10 @@ #ifndef GPR_HAVE_UNIX_SOCKET -void grpc_create_socketpair_if_unix(int sv[2]) {} +void grpc_create_socketpair_if_unix(int sv[2]) { + // TODO(ahedberg): Please fill in an implementation for non-Unix-sockets case + GPR_ASSERT(0); +} grpc_resolved_addresses *grpc_resolve_unix_domain_address(const char *name) { return NULL; |