projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82491d5
)
fix sftp directory listing so that it works without -v and is redirectable with ...
author
Gunter Knauf
<gk@gknw.de>
Sat, 27 Jan 2007 12:14:02 +0000
(12:14 +0000)
committer
Gunter Knauf
<gk@gknw.de>
Sat, 27 Jan 2007 12:14:02 +0000
(12:14 +0000)
lib/ssh.c
patch
|
blob
|
history
diff --git
a/lib/ssh.c
b/lib/ssh.c
index
cad2f07
..
ed38802
100644
(file)
--- a/
lib/ssh.c
+++ b/
lib/ssh.c
@@
-807,7
+807,8
@@
CURLcode Curl_sftp_do(struct connectdata *conn, bool *done)
filename);
}
- infof(data, "%s\n", line);
+ currLen += snprintf(line+currLen, totalLen-currLen, "\n");
+ res = Curl_client_write(conn, CLIENTWRITE_BOTH, line, 0);
free(line);
}
}