diff -r f0f24da5f920 -r 6d8784bee427 libidav/resource.c --- a/libidav/resource.c Sat Aug 05 10:57:47 2017 +0200 +++ b/libidav/resource.c Sat Aug 05 11:08:34 2017 +0200 @@ -81,11 +81,13 @@ DavResource* dav_resource_new_full(DavSession *sn, char *parent_path, char *name, char *href) { sstr_t n = sstr(name); // the name must not contain path separators - for(int i=0;i 0) { + for(int i=0;i