Fix an assert

pull/3570/head
Vijay Pai 9 years ago
parent 8423203cbb
commit e547bdf4d7
  1. 2
      src/cpp/client/secure_credentials.cc

@ -154,7 +154,7 @@ void MetadataCredentialsPluginWrapper::Destroy(void* wrapper) {
void MetadataCredentialsPluginWrapper::GetMetadata(
void* wrapper, const char* service_url,
grpc_credentials_plugin_metadata_cb cb, void* user_data) {
GPR_ASSERT(!wrapper);
GPR_ASSERT(wrapper);
MetadataCredentialsPluginWrapper* w =
reinterpret_cast<MetadataCredentialsPluginWrapper*>(wrapper);
if (!w->plugin_) {

Loading…
Cancel
Save