HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58ce35f
)
(ange-ftp-normal-login): If using a smart gateway,
author
Karl Heuer
<kwzh@gnu.org>
Fri, 6 Dec 1996 23:18:25 +0000
(23:18 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Fri, 6 Dec 1996 23:18:25 +0000
(23:18 +0000)
but ange-ftp-gateway-host is nil, generate the login name
in the usual simple way.
lisp/ange-ftp.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/ange-ftp.el
b/lisp/ange-ftp.el
index
2e4d019
..
2778e85
100644
(file)
--- a/
lisp/ange-ftp.el
+++ b/
lisp/ange-ftp.el
@@
-1926,7
+1926,8
@@
PROC is the process to the FTP-client."
(cdr result))))
(setq result (ange-ftp-raw-send-cmd
proc
- (if (ange-ftp-use-smart-gateway-p host)
+ (if (and (ange-ftp-use-smart-gateway-p host)
+ ange-ftp-gateway-host)
(format "user \"%s\"@%s %s %s" user nshost pass account)
(format "user \"%s\" %s %s" user pass account))
(format "Logging in as user %s@%s" user host)))