Skip to content
Snippets Groups Projects
Commit e710e2bb authored by David G. Quintas's avatar David G. Quintas
Browse files

Merge pull request #3001 from yang-g/temp_str

Bug fix. Called c_str on a temp string
parents 89bede02 2f543f20
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ Call Channel::CreateCall(const RpcMethod& method, ClientContext* context,
} else {
const char* host_str = NULL;
if (!context->authority().empty()) {
host_str = context->authority().c_str();
host_str = context->authority_.c_str();
} else if (!host_.empty()) {
host_str = host_.c_str();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment