char *req_txt = dump_xml(original_request); char *reply_txt = dump_xml(reply); CRM_DEBUG3("Created (Reply): %s\n\tfrom: %s\n", reply_txt, req_txt);
create_reply(xmlNodePtr original_request,	     xmlNodePtr xml_response_data){	const char *host_from = NULL;	const char *sys_from  = NULL;	const char *sys_to    = NULL;		FNIN();	host_from = xmlGetProp(original_request, XML_ATTR_HOSTFROM);	sys_from  = xmlGetProp(original_request, XML_ATTR_SYSFROM);	sys_to  = xmlGetProp(original_request, XML_ATTR_SYSTO);	xmlNodePtr 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)		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);	char *req_txt = dump_xml(original_request);	char *reply_txt = dump_xml(reply);	CRM_DEBUG3("Created (Reply): %s\n\tfrom: %s\n",		  reply_txt, req_txt);			FNRET(reply);}