src/server/webdav/parser.c

changeset 89
5eecce5314d6
parent 87
bdec069d2239
child 91
fac51f87def0
--- a/src/server/webdav/parser.c	Tue Jul 16 12:14:13 2013 +0200
+++ b/src/server/webdav/parser.c	Wed Jul 31 11:35:57 2013 +0200
@@ -111,7 +111,7 @@
     } else if(p->davPropTag && !p->rq->allprop && depth == 2) {
         DavProperty *property = pool_malloc(pool, sizeof(DavProperty));
         property->xmlns = xmlnsmap_put(p->rq->nsmap, (char*)ns);
-        property->name = pool_strdup(pool, name);
+        property->name = pool_strdup(pool, (const char*)name);
         
         // add property to DavRequest
         UcxDlist *elm = pool_malloc(pool, sizeof(UcxDlist));

mercurial