fix Mkdir signature

This commit is contained in:
Christoph Polcin
2014-10-24 11:30:08 +02:00
parent 3e22786a18
commit 9e2acd491b
2 changed files with 5 additions and 8 deletions

View File

@@ -61,7 +61,7 @@ func main() {
}
case "MKCOL", "MKDIR":
if err := c.Mkdir(path); err != nil {
if err := c.Mkdir(path, 0); err != nil {
fmt.Println(err)
} else {
fmt.Println("MkDir: " + path)