diff --git a/client.go b/client.go index 656e003..1c906f7 100644 --- a/client.go +++ b/client.go @@ -151,7 +151,7 @@ func (c *Client) ReadDir(path string) ([]os.FileInfo, error) { f.isdir = false } - files = append(files, *f) + files = append(files, f) } r.Props = nil