reply = create_common_message(original_request, xml_response_data);  set_xml_property_copy(reply, XML_ATTR_MSGTYPE, XML_ATTR_RESPONSE);  /* since this is a reply, we reverse the from and to */  /* HOSTTO will be ignored if it is to the DC anyway. */ if(host_from != NULL && strlen(host_from) > 0) set_xml_property_copy(reply, XML_ATTR_HOSTTO,   host_from);  set_xml_property_copy(reply, XML_ATTR_SYSTO,    sys_from); set_xml_property_copy(reply, XML_ATTR_SYSFROM,  sys_to); 
if (xml_response_data != NULL) { char *xml_text = dump_xml_unformatted(xml_response_data); ha_msg_add(reply, F_CRM_DATA, xml_text); crm_free(xml_text); } 
create_reply(xmlNodePtr original_request,	     xmlNodePtr xml_response_data){	const char *host_from = NULL;	const char *sys_from  = NULL;	const char *sys_to    = NULL;	xmlNodePtr reply;			host_from = xmlGetProp(original_request, XML_ATTR_HOSTFROM);	sys_from  = xmlGetProp(original_request, XML_ATTR_SYSFROM);	sys_to  = xmlGetProp(original_request, XML_ATTR_SYSTO);	reply = create_common_message(original_request, xml_response_data);		set_xml_property_copy(reply, XML_ATTR_MSGTYPE, XML_ATTR_RESPONSE);		/* since this is a reply, we reverse the from and to */	/* HOSTTO will be ignored if it is to the DC anyway. */	if(host_from != NULL && strlen(host_from) > 0)		set_xml_property_copy(reply, XML_ATTR_HOSTTO,   host_from);	set_xml_property_copy(reply, XML_ATTR_SYSTO,    sys_from);	set_xml_property_copy(reply, XML_ATTR_SYSFROM,  sys_to);	return reply;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/b121e2c08fe4d8ca02d6462216ef844ff6cc68f1/msg.c/buggy/crm/common/msg.c