*node = NULL; *subsys = (char*)ha_malloc(sizeof(char)* (value_len+1)); strncpy(*subsys, char_value, value_len); (*subsys)[value_len] ='\0'; cl_log(LOG_INFO, "Decoded value: (%s:%d)", *subsys, strlen(*subsys)); return TRUE; 
*node = NULL; *subsys = (char*)ha_strdup(char_value); if (!*subsys) { cl_log(LOG_ERR, "memory allocation failed in " "decode_hash_value()\n"); return FALSE; } cl_log(LOG_INFO, "Decoded value: (%s:%d)", *subsys, strlen(*subsys)); return TRUE; 
decode_hash_value(gpointer value, char **node, char **subsys){    char *char_value = (char*)value;    int value_len = strlen(char_value);        cl_log(LOG_INFO, "Decoding hash value: (%s:%d)", char_value, value_len);    	    if(strcmp("dc", (char*)value) == 0)     {	*node = NULL;	*subsys = (char*)ha_malloc(sizeof(char)* (value_len+1));	strncpy(*subsys, char_value, value_len);	(*subsys)[value_len] ='\0';	cl_log(LOG_INFO, "Decoded value: (%s:%d)", *subsys, strlen(*subsys));	return TRUE;    }    else if(char_value != NULL)    {	if(decodeNVpair(char_value, '_', node, subsys))	    return TRUE;	else	{	    *node = NULL;	    *subsys = NULL;	    return FALSE;	}    }    // do the real decoding bit    return FALSE;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/d884bb8419747da5584a0945ae2be736a300af3d/crmd.c/clean/crm/crmd/crmd.c