if((ret_templates > 0) || (ret_data > 0) ) {
if((ret_data=ipfix_send_data(exporter)) > 0) {
int ipfix_send(ipfix_exporter *exporter){        int ret_templates, ret_data;        int ret = 0;        ret_templates = ipfix_send_templates(exporter);        ret_data = ipfix_send_data(exporter);        if((ret_templates > 0) || (ret_data > 0) ) {                // we did send some data:                exporter->sequence_number++;                return 0;        }        if(ret_templates < 0) {                msg(MSG_ERROR, "IPFIX: sending templates failed");                ret = -1;        }        if(ret_data < 0) {                msg(MSG_ERROR, "IPFIX: sending data failed");                ret = -1;        }        return ret;}