if(type == NULL || strlen(type) < 1) FNRET(-3); 
if(type == NULL || strlen(type) < 1) { type = CIB_VAL_NODETYPE_DEFAULT; cl_log(LOG_WARNING, "You did not specify a value for %s for node (id=%s).  Using default: %s", XML_CIB_ATTR_NODETYPE, id, CIB_VAL_NODETYPE_DEFAULT); xmlSetProp(xml_node, XML_CIB_ATTR_NODETYPE, CIB_VAL_NODETYPE_DEFAULT);  }  
addHaNode(xmlNodePtr cib, cibHaNode *xml_node){    const char * id = xmlGetProp(xml_node, XML_ATTR_ID);    if(id == NULL || strlen(id) < 1) FNRET(-1);    if(findHaNode(cib, ID(xml_node)) != NULL) FNRET(-2);    const char * type = xmlGetProp(xml_node, XML_CIB_ATTR_NODETYPE);    if(type == NULL || strlen(type) < 1) FNRET(-3); // or fill in a default        FNRET(addNode(cib, XML_CIB_TAG_NODES, xml_node));}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/f4d2fcf957c8356f82db6dc54719d7d704bacb16/cibprimatives.c/buggy/crm/cib/cibprimatives.c