diff -r 382bff43c6eb -r 95b77e842db3 src/server/daemon/acl.c --- a/src/server/daemon/acl.c Mon Sep 09 11:55:14 2013 +0200 +++ b/src/server/daemon/acl.c Mon Sep 09 12:15:54 2013 +0200 @@ -321,7 +321,7 @@ sstr_t pp = sstr(path); p.length = wd.length + pp.length + 1; p.ptr = malloc(p.length + 1); - p = sstrncat(3, p, wd, sstrn("/", 1), pp); + p = sstrncat(p, 3, wd, sstrn("/", 1), pp); p.ptr[p.length] = '\0'; } else { p = sstrdup(sstr(path));