diff options
Diffstat (limited to 'src/cpp')
-rw-r--r-- | src/cpp/client/secure_credentials.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpp/client/secure_credentials.cc b/src/cpp/client/secure_credentials.cc index 6c06e45326..e2bd1f7747 100644 --- a/src/cpp/client/secure_credentials.cc +++ b/src/cpp/client/secure_credentials.cc @@ -178,12 +178,12 @@ int MetadataCredentialsPluginWrapper::GetMetadata( w->thread_pool_->Add( std::bind(&MetadataCredentialsPluginWrapper::InvokePlugin, w, context, cb, user_data, nullptr, nullptr, nullptr, nullptr)); - return false; + return 0; } else { // Synchronous return. w->InvokePlugin(context, cb, user_data, creds_md, num_creds_md, status, error_details); - return true; + return 1; } } |