summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-21 01:49:08 +0200
committerJeremy Allison <jra@samba.org>2013-09-20 21:07:22 -0700
commitf33c1c89eeed8bb9c239db12b9adb27760ddb2f9 (patch)
tree7562a81db755829208316cc50b3861edc1cce7c4
parente24fcf0f3e1b5b19d97a13786b09f069393b06d8 (diff)
downloadsamba-f33c1c89eeed8bb9c239db12b9adb27760ddb2f9.tar.gz
samba-f33c1c89eeed8bb9c239db12b9adb27760ddb2f9.tar.bz2
samba-f33c1c89eeed8bb9c239db12b9adb27760ddb2f9.zip
auth: fix space/tab mixup in cli_credentials_get_password()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
-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);