summaryrefslogtreecommitdiff
path: root/sftp-server.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2010-01-13 22:44:06 +1100
committerDarren Tucker <dtucker@zip.com.au>2010-01-13 22:44:06 +1100
commit2901e2daebe3a0890209f31d05d5bb9338cbed5b (patch)
tree8165aef201520ede26777b48b3c9e777245e2616 /sftp-server.c
parentdaaa4500519627abee7c6d1969bc33df6572c1e8 (diff)
- djm@cvs.openbsd.org 2010/01/13 01:40:16
[sftp.c sftp-server.c sftp.1 sftp-common.c sftp-common.h] support '-h' (human-readable units) for sftp's ls command, just like ls(1); ok dtucker@
Diffstat (limited to 'sftp-server.c')
-rw-r--r--sftp-server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sftp-server.c b/sftp-server.c
index ab9391cf..a98ac2b6 100644
--- a/sftp-server.c
+++ b/sftp-server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sftp-server.c,v 1.90 2010/01/09 00:20:26 djm Exp $ */
+/* $OpenBSD: sftp-server.c,v 1.91 2010/01/13 01:40:16 djm Exp $ */
/*
* Copyright (c) 2000-2004 Markus Friedl. All rights reserved.
*
@@ -940,7 +940,7 @@ process_readdir(void)
continue;
stat_to_attrib(&st, &(stats[count].attrib));
stats[count].name = xstrdup(dp->d_name);
- stats[count].long_name = ls_file(dp->d_name, &st, 0);
+ stats[count].long_name = ls_file(dp->d_name, &st, 0, 0);
count++;
/* send up to 100 entries in one message */
/* XXX check packet size instead */