From f0ff1cd5762b2485add7b2e5a1da52eab733a873 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Fri, 18 Oct 2013 12:22:02 +0200 Subject: * 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. --- lisp/net/tramp-smb.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp/net/tramp-smb.el') 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. -- cgit v1.2.1