614 DavResource *res; |
614 DavResource *res; |
615 |
615 |
616 int depth = recursive ? -1 : 1; |
616 int depth = recursive ? -1 : 1; |
617 res = dav_query( |
617 res = dav_query( |
618 sn, |
618 sn, |
619 "select - from %s with = depth %d where lastmodified > %t", |
619 "select - from %s with depth = %d where lastmodified > %t", |
620 path, |
620 path, |
621 t, |
621 depth, |
622 depth); |
622 t); |
623 |
623 |
624 if(!res) { |
624 if(!res) { |
625 print_resource_error(sn, path); |
625 print_resource_error(sn, path); |
626 return -1; |
626 return -1; |
627 } |
627 } |