int ref_len = strlen(sys) + strlen(reference) + 2;
int ref_len = strlen(sys) + strlen(crm_msg_reference) + 2;
generate_hash_key(const char *reference, const char *sys){    FNIN();    int ref_len = strlen(sys) + strlen(reference) + 2;    char *hash_key = (char*)ha_malloc(sizeof(char)*(ref_len));    sprintf(hash_key, "%s_%s", sys, reference);    hash_key[ref_len-1] = '\0';    cl_log(LOG_INFO, "created hash key: (%s)", hash_key);    FNRET(hash_key);}