stn_restarter_state
if ((from = stn_restarter_state(old_state)) == -1 ||
(to = stn_restarter_state(new_state)) == -1) {