138:6a3248e22d58 | 139:c6424aebcf5e |
---|---|
373 int ret = -1; | 373 int ret = -1; |
374 DavResource *ls; | 374 DavResource *ls; |
375 while(ret != 0) { | 375 while(ret != 0) { |
376 ls = dav_query( | 376 ls = dav_query( |
377 sn, | 377 sn, |
378 "select `idav:crypto-name`,`idav:crypto-key` from %s with depth = %d where lastmodified > %t", | 378 "select `idav:crypto-name`,`idav:crypto-key` from %s with depth = %d where lastmodified > %t order by iscollection desc, name", |
379 path, | 379 path, |
380 depth, | 380 depth, |
381 t); | 381 t); |
382 | 382 |
383 if(!ls) { | 383 if(!ls) { |