From: Michael Albinus Date: Fri, 18 Oct 2013 10:22:02 +0000 (+0200) Subject: * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1222 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f0ff1cd5762b2485add7b2e5a1da52eab733a873;p=emacs.git * 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. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e3031dde7d8..1283b3099af 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2013-10-18 Michael Albinus + + * 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. + 2013-10-18 Glenn Morris * progmodes/verilog-mode.el (verilog-case-fold): Add :version. @@ -121,7 +127,7 @@ connection property. * net/tramp-cache.el (top): Suppress traces when reading - presistency file. + persistency file. * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch): Refactor common code. Improve debug message. 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.