dav/config.c

branch
ucx-3.1
changeset 816
839fefbdedc7
parent 806
673a803d2203
equal deleted inserted replaced
815:1f40ca07ae1b 816:839fefbdedc7
484 /* 484 /*
485 * The list secrets->location contains urls or repo names as 485 * The list secrets->location contains urls or repo names as
486 * location strings. We need a list, that contains only urls 486 * location strings. We need a list, that contains only urls
487 */ 487 */
488 CxList *locations = cxLinkedListCreate(cxDefaultAllocator, (cx_compare_func)cmp_url_cred_entry, CX_STORE_POINTERS); 488 CxList *locations = cxLinkedListCreate(cxDefaultAllocator, (cx_compare_func)cmp_url_cred_entry, CX_STORE_POINTERS);
489 locations->simple_destructor = (cx_destructor_func)free_cred_location; 489 cxDefineDestructor(locations, free_cred_location);
490 CxIterator i = cxListIterator(secrets->locations); 490 CxIterator i = cxListIterator(secrets->locations);
491 cx_foreach(PwdIndexEntry*, e, i) { 491 cx_foreach(PwdIndexEntry*, e, i) {
492 CxIterator entry_iter = cxListIterator(e->locations); 492 CxIterator entry_iter = cxListIterator(e->locations);
493 cx_foreach(char *, loc, entry_iter) { 493 cx_foreach(char *, loc, entry_iter) {
494 cxmutstr rpath; 494 cxmutstr rpath;

mercurial