diff --git a/lib/creds.c b/lib/creds.c index 8303891967..e59c601b95 100644 --- a/lib/creds.c +++ b/lib/creds.c @@ -181,7 +181,7 @@ void Curl_creds_trace(struct Curl_easy *data, struct Curl_creds *creds, Curl_creds_user(creds), Curl_creds_has_passwd(creds) ? "***" : "", Curl_creds_sasl_authzid(creds), - Curl_creds_oauth_bearer(creds), + Curl_creds_has_oauth_bearer(creds) ? "***" : "", creds->source); } else