应该修复了意外跳转的问题

This commit is contained in:
anod 2023-03-11 11:20:39 +08:00
parent 4d97f9c021
commit ad1962892c

View File

@ -410,7 +410,7 @@ static atp_error_t handle_onoff_entry( acl_entryid_t id, acl_elemlen_t codelen,
*item = 1<<16 | id; *item = 1<<16 | id;
} }
else return res; return res;
} }
static atp_error_t select_keys( atp_callerdata_t data, atp_counter_t index, atp_itemcfg_t *cfg ) static atp_error_t select_keys( atp_callerdata_t data, atp_counter_t index, atp_itemcfg_t *cfg )
@ -597,11 +597,7 @@ static atp_pageopt_t serve_on_key( atp_callerdata_t data, atp_counter_t index, a
{ {
status = DISP_HOLES; status = DISP_HOLES;
} }
else { else break;
char errorstr[64];
WAIT_ON_ACT( disp_str( ee_snprintf(errorstr, 64, "返回错了:%d", res), 1, NULL ) );
break;
}
} }
} }