aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cpp
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2017-09-28 08:40:03 -0700
committerGravatar Mark D. Roth <roth@google.com>2017-09-28 08:40:03 -0700
commit61b26f97b04b4fec82d6b9ea110ad7743a0ab178 (patch)
treea48705edb883b5085164eacdeae2f2f588c7bbef /src/cpp
parent1a8bb821f4e978bc94f3cc4f87a8653d9de284e5 (diff)
Code review changes.
Diffstat (limited to 'src/cpp')
-rw-r--r--src/cpp/client/secure_credentials.cc4
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;
}
}