int lpc = 0; int lpc2 = 0; slist_iter( rsc, resource_t, resources, lpc, if(rsc->is_stonith == FALSE) { continue; }  slist_iter( node, node_t, rsc->fencable_nodes, lpc2,  if(safe_str_eq( safe_val3(NULL, node, details, uname), safe_val3(NULL, a_node, details, uname))) {  stonith->node = rsc->cur_node; rsc->actions = g_list_append( rsc->actions, stonith);  return rsc->cur_node; } ); );
choose_fencer(action_t *stonith, node_t *a_node, GListPtr resources){	int lpc = 0;	int lpc2 = 0;	slist_iter(		rsc, resource_t, resources, lpc,		if(rsc->is_stonith == FALSE) {			continue;		}		slist_iter(			node, node_t, rsc->fencable_nodes, lpc2,			if(safe_str_eq(				   safe_val3(NULL, node, details, uname),				   safe_val3(NULL, a_node, details, uname))) {				stonith->node = rsc->cur_node;				rsc->actions = g_list_append(					rsc->actions, stonith);				return rsc->cur_node;			}			);		);		return NULL;}