if(action->task == task) { if(on_node == NULL) { result = g_list_append(result, action); 
crm_trace("Matching %s against %s", key, action->uuid); if(safe_str_neq(key, action->uuid)) { continue;  } else if(on_node == NULL) { result = g_list_append(result, action);  } else if(action->node == NULL) { /* skip */ crm_debug("While looking for %s action on %s, " "found an unallocated one.  Assigning" " it to the requested node...", key, on_node->details->uname); 
find_actions(GListPtr input, enum action_tasks task, node_t *on_node){	GListPtr result = NULL;		slist_iter(		action, action_t, input, lpc,		if(action->task == task) {			if(on_node == NULL) {				result = g_list_append(result, action);			} else if(action->node == NULL) {				/* skip */				crm_debug("While looking for %s action on %s, "					  "found an unallocated one.  Assigning"					  " it to the requested node...",					  task2text(task),					  on_node->details->uname);				action->node = on_node;				result = g_list_append(result, action);							} else if(safe_str_eq(on_node->details->id,					      action->node->details->id)) {				result = g_list_append(result, action);			}		}		);	return result;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/387b102dac5c8c5bab8c1e2033c2e60a296a879a/utils.c/clean/crm/pengine/utils.c