projects
/
u
/
mdw
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3498db
)
Forgot to call fxp_init() in `pscp -ls' mode under SFTP.
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 25 Jun 2002 18:51:06 +0000
(18:51 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 25 Jun 2002 18:51:06 +0000
(18:51 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@1748
cda61777
-01e9-0310-a592-
d414129be87e
scp.c
patch
|
blob
|
blame
|
history
diff --git
a/scp.c
b/scp.c
index
cf79a06
..
a11d53c
100644
(file)
--- a/
scp.c
+++ b/
scp.c
@@
-690,6
+690,12
@@
void scp_sftp_listdir(char *dirname)
int nnames, namesize;
int i;
+ if (!fxp_init()) {
+ tell_user(stderr, "unable to initialise SFTP: %s", fxp_error());
+ errs++;
+ return;
+ }
+
printf("Listing directory %s\n", dirname);
dirh = fxp_opendir(dirname);