From 725c5d0f1478693715e0216e18f0b9d3014e97dc Mon Sep 17 00:00:00 2001 From: Christoph Polcin Date: Fri, 24 Oct 2014 11:30:45 +0200 Subject: [PATCH] fix LIST log output --- main/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/client.go b/main/client.go index 8d07d65..a53f271 100644 --- a/main/client.go +++ b/main/client.go @@ -43,7 +43,7 @@ func main() { switch *m { case "LIST", "PROPFIND": 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 { fmt.Println(f) }