[sr-dev] git:master: modules/tm: new implementation of load_contacts()/next_contacts ()

Juha Heinanen jh at tutpro.com
Fri Aug 5 16:24:41 CEST 2011


Alex Hermann writes:

> > after you have called t_load_contacts(), you should call
> > t_next_contacts(), which does what i explained earlier.  after that ruri
> > contains a contact with highest q value.
> Of course, but is that happens to be the old ruri, it is used again
> > directly.

ruti is not "old" to load_contacts() function if you call it first time
in failure route.

load_contacts() works on current destination set (ruri + branches).
before calling t_load_contacts(), you need to arrange so that
destination set contains whatever contacts are correct for you.

-- juha



More information about the sr-dev mailing list