switch (di->state)
{
case di_enterrepo: di_enterrepo:
+ if (!di->repo)
+ goto di_bye;
if (!(di->flags & SEARCH_THISSOLVID))
{
di->solvid = di->repo->start - 1; /* reset solvid iterator */
di->solvid = solvid;
if (solvid)
di->flags |= SEARCH_THISSOLVID;
- di->state = di_entersolvable;
+ di->state = di_enterrepo;
}
void