summaryrefslogtreecommitdiff
path: root/lib/vssh/wolfssh.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vssh/wolfssh.c')
-rw-r--r--lib/vssh/wolfssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vssh/wolfssh.c b/lib/vssh/wolfssh.c
index c0de33984..de0b1c777 100644
--- a/lib/vssh/wolfssh.c
+++ b/lib/vssh/wolfssh.c
@@ -859,7 +859,7 @@ static CURLcode wssh_statemach_act(struct Curl_easy *data, bool *block)
result = CURLE_OK;
while(name) {
char *line = aprintf("%s\n",
- data->set.ftp_list_only ?
+ data->set.list_only ?
name->fName : name->lName);
if(line == NULL) {
state(data, SSH_SFTP_CLOSE);