src/server/webdav/multistatus.c

changeset 484
c036a8b242a8
parent 415
d938228c382e
child 490
d218607f5a7e
equal deleted inserted replaced
483:f69d88f86b9c 484:c036a8b242a8
68 "<D:multistatus"); 68 "<D:multistatus");
69 69
70 // write the namespaces definitions 70 // write the namespaces definitions
71 // key is the namespace prefix 71 // key is the namespace prefix
72 // the map always contains the "DAV:" namespace with the prefix "D" 72 // the map always contains the "DAV:" namespace with the prefix "D"
73 CxIterator i = cxMapIterator(ms->namespaces); 73 CxIterator i = cxMapIterator(ms->namespaces);
74 cx_foreach(CxMapEntry*, entry, i) { 74 cx_foreach(CxMapEntry*, entry, i) {
75 WSNamespace *ns = entry->value; 75 WSNamespace *ns = entry->value;
76 writer_put_lit(out, " xmlns:"); 76 writer_put_lit(out, " xmlns:");
77 writer_put (out, entry->key->data.str, entry->key->len); 77 writer_put (out, entry->key->data.str, entry->key->len);
78 writer_put_lit(out, "=\""); 78 writer_put_lit(out, "=\"");

mercurial