328c328 < for (i=candidates; i->next; i=i->next) { --- > for (i=candidates; i; i=i->next) {