dav/db.c

changeset 144
c2c02c9b3be4
parent 75
56962faf2b42
child 185
cd42cccee550
equal deleted inserted replaced
143:d8b01bed3d83 144:c2c02c9b3be4
125 } else if(xstreq(name, "size")) { 125 } else if(xstreq(name, "size")) {
126 field = 3; 126 field = 3;
127 } 127 }
128 } else if(type == XML_READER_TYPE_TEXT) { 128 } else if(type == XML_READER_TYPE_TEXT) {
129 const xmlChar *value = xmlTextReaderConstValue(reader); 129 const xmlChar *value = xmlTextReaderConstValue(reader);
130 int b = 0; 130 //int b = 0;
131 switch(field) { 131 switch(field) {
132 case 0: { 132 case 0: {
133 res->path = strdup((char*)value); 133 res->path = strdup((char*)value);
134 break; 134 break;
135 } 135 }

mercurial