| 238 | } |
| 239 | |
| 240 | void fix_plus_plus_recursive(xmlNode* target) |
| 241 | { |
| 242 | /* TODO: Remove recursion and use xpath searches for value++ */ |
| 243 | xmlNode *child = NULL; |
| 244 | xmlAttrPtr pIter = NULL; |
| 245 | for(pIter = crm_first_attr(target); pIter != NULL; pIter = pIter->next) { |
| 246 | const char *p_name = (const char *)pIter->name; |
| 247 | const char *p_value = crm_attr_value(pIter); |
| 248 | |
| 249 | expand_plus_plus(target, p_name, p_value); |
| 250 | } |
| 251 | for(child = __xml_first_child(target); child != NULL; child = __xml_next(child)) { |
| 252 | fix_plus_plus_recursive(child); |
| 253 | } |
| 254 | } |
| 255 | |
| 256 | |
| 257 | void |
no test coverage detected