diff options
author | Sree Kuchibhotla <sreek@google.com> | 2016-08-22 16:08:50 -0700 |
---|---|---|
committer | Sree Kuchibhotla <sreek@google.com> | 2016-08-22 16:08:50 -0700 |
commit | cc357bf74e27888a354f361ad3b66e4e2b565dbc (patch) | |
tree | c65d30daaa57b48dadd76543e49934833513911c /src/cpp | |
parent | daf46996529a983013892344803539e9ae888f24 (diff) |
Remove completion queue parameter from grpc_server_add_insecure_channel_from_fd API
Diffstat (limited to 'src/cpp')
-rw-r--r-- | src/cpp/server/server_posix.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cpp/server/server_posix.cc b/src/cpp/server/server_posix.cc index c3aa2adc60..33d42a8dc7 100644 --- a/src/cpp/server/server_posix.cc +++ b/src/cpp/server/server_posix.cc @@ -40,8 +40,7 @@ namespace grpc { #ifdef GPR_SUPPORT_CHANNELS_FROM_FD void AddInsecureChannelFromFd(Server* server, int fd) { - grpc_server_add_insecure_channel_from_fd( - server->c_server(), server->completion_queue()->cq(), fd); + grpc_server_add_insecure_channel_from_fd(server->c_server(), NULL, fd); } #endif // GPR_SUPPORT_CHANNELS_FROM_FD |