summaryrefslogtreecommitdiff
path: root/lisp/net/tramp-smb.el
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2013-10-18 12:22:02 +0200
committerMichael Albinus <michael.albinus@gmx.de>2013-10-18 12:22:02 +0200
commitf0ff1cd5762b2485add7b2e5a1da52eab733a873 (patch)
treec705606c6402d49371baa4e7f6bdaf5af1838526 /lisp/net/tramp-smb.el
parent0fc459a3f1538ecb04505031939823e88a24be14 (diff)
downloademacs-f0ff1cd5762b2485add7b2e5a1da52eab733a873.tar.gz
* net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
introduced on 2013-09-08, which results in an infinite loop requesting a password.
Diffstat (limited to 'lisp/net/tramp-smb.el')
-rw-r--r--lisp/net/tramp-smb.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/net/tramp-smb.el b/lisp/net/tramp-smb.el
index 4270ad1671c..fe7097edbde 100644
--- a/lisp/net/tramp-smb.el
+++ b/lisp/net/tramp-smb.el
@@ -1901,9 +1901,9 @@ If ARGUMENT is non-nil, use it as argument for
(search-forward-regexp
tramp-smb-wrong-passwd-regexp nil t))
;; Disable `auth-source' and `password-cache'.
- (tramp-message
- vec 3 "Retry connection with new password")
(let (auth-sources)
+ (tramp-message
+ vec 3 "Retry connection with new password")
(tramp-cleanup-connection vec t)
(tramp-smb-maybe-open-connection vec argument))
;; Propagate the error.