Skip to content
Snippets Groups Projects
Commit 2729fbad authored by Yang Gao's avatar Yang Gao
Browse files

wording change

parent 49996496
No related branches found
No related tags found
No related merge requests found
......@@ -211,7 +211,7 @@ bool Server::RegisterService(RpcService* service) {
bool Server::RegisterAsyncService(AsynchronousService* service) {
GPR_ASSERT(service->dispatch_impl_ == nullptr &&
"Can only register an asynchronous service against one server.");
"Can only register one asynchronous service against one server.");
service->dispatch_impl_ = this;
service->request_args_ = new void* [service->method_count_];
for (size_t i = 0; i < service->method_count_; ++i) {
......@@ -230,7 +230,7 @@ bool Server::RegisterAsyncService(AsynchronousService* service) {
void Server::RegisterAsyncGenericService(AsyncGenericService* service) {
GPR_ASSERT(service->server_ == nullptr &&
"Can only register an generic service against one server.");
"Can only register one generic service against one server.");
service->server_ = this;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment