| 216 | } |
| 217 | |
| 218 | void |
| 219 | copy_in_properties(xmlNode* target, xmlNode *src) |
| 220 | { |
| 221 | if(src == NULL) { |
| 222 | crm_warn("No node to copy properties from"); |
| 223 | |
| 224 | } else if (target == NULL) { |
| 225 | crm_err("No node to copy properties into"); |
| 226 | |
| 227 | } else { |
| 228 | xmlAttrPtr pIter = NULL; |
| 229 | for(pIter = crm_first_attr(src); pIter != NULL; pIter = pIter->next) { |
| 230 | const char *p_name = (const char *)pIter->name; |
| 231 | const char *p_value = crm_attr_value(pIter); |
| 232 | |
| 233 | expand_plus_plus(target, p_name, p_value); |
| 234 | } |
| 235 | } |
| 236 | |
| 237 | return; |
| 238 | } |
| 239 | |
| 240 | void fix_plus_plus_recursive(xmlNode* target) |
| 241 | { |
no test coverage detected