ENH:add network detection for LAN mode printer

Change-Id: I0e3616b08f1a455df05c98c3b194ff9177df3ff1
This commit is contained in:
tao wang 2023-02-02 16:41:56 +08:00 committed by Lane.Wei
parent 9936c2b823
commit c000ab2d8a
7 changed files with 29 additions and 16 deletions

View file

@ -141,12 +141,16 @@ void SendJob::process()
if (result != 0) {
BOOST_LOG_TRIVIAL(error) << "access code is invalid";
m_enter_ip_address_fun_fail();
m_job_finished = true;
return;
}
else {
m_enter_ip_address_fun_success();
if (!m_chck_and_continue) {
m_enter_ip_address_fun_success();
m_job_finished = true;
return;
}
}
m_job_finished = true;
return;
}
/* display info */