cl_log(LOG_DEBUG, "%s%s%sAction %d: %s %s @ %s", pre_text==NULL?"":pre_text, pre_text==NULL?"":": ", action->runnable?action->optional?"Optional ":action->processed?"":"(Provisional) ":"!!Non-Startable!! ", action->id, task2text(action->task), safe_val3(NULL, action, rsc, id), safe_val7(NULL, action, rsc, color, details, chosen_node, details, id));   cl_log(LOG_DEBUG, "\t\t(seen=%d, before=%d, after=%d)", action->seen_count, g_slist_length(action->actions_before), g_slist_length(action->actions_after));  
switch(action->task) { case stonith_op: case shutdown_crm: cl_log(LOG_DEBUG, "%s%s%sAction %d: %s @ %s", pre_text==NULL?"":pre_text, pre_text==NULL?"":": ", action->runnable?action->optional?"Optional ":action->processed?"":"(Provisional) ":"!!Non-Startable!! ", action->id, task2text(action->task), safe_val4(NULL, action, node, details, id)); break; default: cl_log(LOG_DEBUG, "%s%s%sAction %d: %s %s @ %s", pre_text==NULL?"":pre_text, pre_text==NULL?"":": ", action->runnable?action->optional?"Optional ":action->processed?"":"(Provisional) ":"!!Non-Startable!! ", action->id, task2text(action->task), safe_val3(NULL, action, rsc, id), safe_val7(NULL, action, rsc, color, details, chosen_node, details, id));  break; } 
print_action(const char *pre_text, action_t *action, gboolean details){ 	if(action == NULL) {		cl_log(LOG_DEBUG, "%s%s%s: <NULL>",		       pre_text==NULL?"":pre_text,		       pre_text==NULL?"":": ",		       __FUNCTION__);		return;	}	cl_log(LOG_DEBUG, "%s%s%sAction %d: %s %s @ %s",	       pre_text==NULL?"":pre_text,	       pre_text==NULL?"":": ",	       action->runnable?action->optional?"Optional ":action->processed?"":"(Provisional) ":"!!Non-Startable!! ",	       action->id,	       task2text(action->task),	       safe_val3(NULL, action, rsc, id),	       safe_val7(NULL, action, rsc, color, details, chosen_node, details, id));	//	if(details == FALSE) {		cl_log(LOG_DEBUG, "\t\t(seen=%d, before=%d, after=%d)",		       action->seen_count,		       g_slist_length(action->actions_before),		       g_slist_length(action->actions_after));//	}	if(details) {		int lpc = 0;#if 1		cl_log(LOG_DEBUG, "\t\t====== Before");		slist_iter(			other, action_wrapper_t, action->actions_before, lpc,			print_action("\t\t", other->action, FALSE);			);//#else		cl_log(LOG_DEBUG, "\t\t====== After");		slist_iter(			other, action_wrapper_t, action->actions_after, lpc,			print_action("\t\t", other->action, FALSE);			);		#endif		cl_log(LOG_DEBUG, "\t\t====== End");	}	}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/ef9140540dcbd0157a65209242ba82186e30420b/utils.c/buggy/crm/pengine/utils.c