aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2015-09-29 23:29:38 +0000
committerGravatar Vijay Pai <vpai@google.com>2015-09-29 23:29:38 +0000
commite547bdf4d7abf46dc8bc7b9364a02c39fb597c9e (patch)
treeb4dfd57a32fac232165cde99da8a84d4a51bf6f4 /src
parent8423203cbb316a251bcefb076c76c59a68b6bfea (diff)
Fix an assert
Diffstat (limited to 'src')
-rw-r--r--src/cpp/client/secure_credentials.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpp/client/secure_credentials.cc b/src/cpp/client/secure_credentials.cc
index 1368a4c914..8299ebeb8a 100644
--- a/src/cpp/client/secure_credentials.cc
+++ b/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_) {