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 } |