438 t = util_parse_lastmodified(update); |
438 t = util_parse_lastmodified(update); |
439 } |
439 } |
440 |
440 |
441 int depth = cmd_getoption(a, "recursive") ? -1 : 1; |
441 int depth = cmd_getoption(a, "recursive") ? -1 : 1; |
442 int ret = 0; |
442 int ret = 0; |
|
443 |
443 DavResource *ls = dav_query( |
444 DavResource *ls = dav_query( |
444 sn, |
445 sn, |
445 date ? LIST_QUERY_ORDER_BY_DATE : LIST_QUERY_ORDER_BY_NAME, |
446 date ? LIST_QUERY_ORDER_BY_DATE : LIST_QUERY_ORDER_BY_NAME, |
446 path, |
447 path, |
447 depth, |
448 depth, |