diff options
author | djm@openbsd.org <djm@openbsd.org> | 2022-09-19 10:41:58 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2022-09-19 20:49:13 +1000 |
commit | 488f6e1c582212c2374a4bf8cd1b703d2e70fb8b (patch) | |
tree | d5f1d8e0dd2a49e53b78726c22800a24f21cd283 /sftp-server.c | |
parent | 74b77f7497dba3a58315c8f308883de448078057 (diff) |
upstream: extend sftp-common.c:extend ls_file() to support supplied
user/group names; ok markus@
OpenBSD-Commit-ID: c70c70498b1fdcf158531117e405b6245863bfb0
Diffstat (limited to 'sftp-server.c')
-rw-r--r-- | sftp-server.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sftp-server.c b/sftp-server.c index 65547029..25f95348 100644 --- a/sftp-server.c +++ b/sftp-server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp-server.c,v 1.143 2022/09/19 10:40:52 djm Exp $ */ +/* $OpenBSD: sftp-server.c,v 1.144 2022/09/19 10:41:58 djm Exp $ */ /* * Copyright (c) 2000-2004 Markus Friedl. All rights reserved. * @@ -1161,7 +1161,8 @@ process_readdir(u_int32_t id) 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, 0); + stats[count].long_name = ls_file(dp->d_name, &st, + 0, 0, NULL, NULL); count++; /* send up to 100 entries in one message */ /* XXX check packet size instead */ |