src/server/webdav/parser.c

changeset 91
fac51f87def0
parent 89
5eecce5314d6
equal deleted inserted replaced
90:279f343bbf6c 91:fac51f87def0
112 DavProperty *property = pool_malloc(pool, sizeof(DavProperty)); 112 DavProperty *property = pool_malloc(pool, sizeof(DavProperty));
113 property->xmlns = xmlnsmap_put(p->rq->nsmap, (char*)ns); 113 property->xmlns = xmlnsmap_put(p->rq->nsmap, (char*)ns);
114 property->name = pool_strdup(pool, (const char*)name); 114 property->name = pool_strdup(pool, (const char*)name);
115 115
116 // add property to DavRequest 116 // add property to DavRequest
117 UcxDlist *elm = pool_malloc(pool, sizeof(UcxDlist)); 117 UcxList *elm = pool_malloc(pool, sizeof(UcxList));
118 elm->prev = NULL; 118 elm->prev = NULL;
119 elm->next = NULL; 119 elm->next = NULL;
120 elm->data = property; 120 elm->data = property;
121 p->rq->properties = ucx_dlist_concat(p->rq->properties, elm); 121 p->rq->properties = ucx_list_concat(p->rq->properties, elm);
122 } 122 }
123 123
124 return 0; 124 return 0;
125 } 125 }
126 126

mercurial