rem: TRACE_LOG("Processing internal list notification\n");
add: DEBUG_LOG("Processing internal list notification\n");
context: static void process_notify_info(virtual_subscription_t *vs, client_notify_info_t *info) {	presentity_info_t *pinfo;	list_presence_info_t *linfo;	if ((!vs) || (!info)) return;	if (is_presence_list_package(&info->package)) {		TRACE_LOG("Processing internal list notification\n");				linfo = (list_presence_info_t*)info->data;	/* TODO: test for "presence" package? */		if (!linfo) return;				/* release old document if set */		TRACE_LOG(" ... freeing old documents\n");		str_free_content(&vs->state_document); 				str_free_content(&vs->content_type);				/* create_presence_rlmi_document(linfo, &vs->state_document, &vs->content_type); */		TRACE_LOG(" ... duplicating documents\n");		str_dup(&vs->state_document, &linfo->pres_doc);		str_dup(&vs->content_type, &linfo->content_type);				vs->status = subscription_active;	}	else {		pinfo = (presentity_info_t*)info->data;	/* TODO: test for "presence" package? */		if (!pinfo) return;				/* release old document if set */		str_free_content(&vs->state_document); 				str_free_content(&vs->content_type);				create_pidf_document(pinfo, &vs->state_document, &vs->content_type);		vs->status = subscription_active;				/* DEBUG_LOG("created pidf document:\n %.*s\n", FMT_STR(vs->state_document)); */	}}