fix LIST log output

This commit is contained in:
Christoph Polcin 2014-10-24 11:30:45 +02:00
parent 9e2acd491b
commit 725c5d0f14

View File

@ -43,7 +43,7 @@ func main() {
switch *m { switch *m {
case "LIST", "PROPFIND": case "LIST", "PROPFIND":
if files, err := c.ReadDir(path); err == nil { if files, err := c.ReadDir(path); err == nil {
fmt.Println(fmt.Sprintf("ReadDir: %s, entries: ", path, len(files))) fmt.Println(fmt.Sprintf("ReadDir: '%s' entries: %d ", path, len(files)))
for _, f := range files { for _, f := range files {
fmt.Println(f) fmt.Println(f)
} }