summaryrefslogtreecommitdiff
path: root/auth/credentials
diff options
context:
space:
mode:
Diffstat (limited to 'auth/credentials')
-rw-r--r--auth/credentials/credentials.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth/credentials/credentials.c b/auth/credentials/credentials.c
index d15cee6b77..642eef7932 100644
--- a/auth/credentials/credentials.c
+++ b/auth/credentials/credentials.c
@@ -405,9 +405,9 @@ _PUBLIC_ const char *cli_credentials_get_password(struct cli_credentials *cred)
if (cred->password_obtained == CRED_CALLBACK &&
!cred->callback_running) {
- cred->callback_running = true;
+ cred->callback_running = true;
cred->password = cred->password_cb(cred);
- cred->callback_running = false;
+ cred->callback_running = false;
if (cred->password_obtained == CRED_CALLBACK) {
cred->password_obtained = CRED_CALLBACK_RESULT;
cli_credentials_invalidate_ccache(cred, cred->password_obtained);