Change empty function to an assert since calling this code would be very

bad right now. Added a TODO
pull/5943/head
Vijay Pai 9 years ago
parent 968483ff95
commit 81dbf84ded
  1. 5
      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;

Loading…
Cancel
Save