diff options
author | Yuchen Zeng <zyc@google.com> | 2016-11-02 11:57:37 -0700 |
---|---|---|
committer | Yuchen Zeng <zyc@google.com> | 2016-11-02 11:57:37 -0700 |
commit | 68413c221e341f4f00326e892077c5fcd4b4f788 (patch) | |
tree | 8f55f49a3d203fc76031c2b704fe60e9567a76e5 /test/core/util/passthru_endpoint.c | |
parent | e5ec9ac9e2e0195e04c7c99d1c2d9a87f67404fb (diff) |
Remove GRPC_SOCKET
Diffstat (limited to 'test/core/util/passthru_endpoint.c')
-rw-r--r-- | test/core/util/passthru_endpoint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/util/passthru_endpoint.c b/test/core/util/passthru_endpoint.c index 5c7167207f..f40177819e 100644 --- a/test/core/util/passthru_endpoint.c +++ b/test/core/util/passthru_endpoint.c @@ -141,7 +141,7 @@ static char *me_get_peer(grpc_endpoint *ep) { return gpr_strdup("fake:mock_endpoint"); } -static GRPC_SOCKET *me_get_socket(grpc_endpoint *ep) { return NULL; } +static int me_get_fd(grpc_endpoint *ep) { return -1; } static grpc_workqueue *me_get_workqueue(grpc_endpoint *ep) { return NULL; } @@ -153,7 +153,7 @@ static const grpc_endpoint_vtable vtable = {me_read, me_shutdown, me_destroy, me_get_peer, - me_get_socket}; + me_get_fd}; static void half_init(half *m, passthru_endpoint *parent) { m->base.vtable = &vtable; |