libidav/xml.c

branch
dav-2
changeset 891
4d58cbcc9efa
parent 886
da79af4baec8
equal deleted inserted replaced
890:e77ccf1c4bb3 891:4d58cbcc9efa
61 const CxAllocator *a = sn->mp->allocator; 61 const CxAllocator *a = sn->mp->allocator;
62 62
63 ConvXmlElm ce; 63 ConvXmlElm ce;
64 ce.node = node; 64 ce.node = node;
65 ce.parent = NULL; 65 ce.parent = NULL;
66 CxList *stack = cxLinkedListCreate(cxDefaultAllocator, NULL, sizeof(ConvXmlElm)); 66 CxList *stack = cxLinkedListCreate(cxDefaultAllocator, sizeof(ConvXmlElm));
67 if(!stack) { 67 if(!stack) {
68 return NULL; 68 return NULL;
69 } 69 }
70 cxListInsert(stack, 0, &ce); 70 cxListInsert(stack, 0, &ce);
71 71

mercurial