Commit fe6c555f authored by Claes's avatar Claes Committed by Esteban Blanc

Build volume bugfix, session status wasn't reset

parent b2add8cd
...@@ -799,6 +799,7 @@ void wb_build::rootvolume(pwr_tVid vid) ...@@ -799,6 +799,7 @@ void wb_build::rootvolume(pwr_tVid vid)
m_sts = lfu_create_loadfile((ldh_tSession*)&m_session); m_sts = lfu_create_loadfile((ldh_tSession*)&m_session);
if (evenSts()) if (evenSts())
return; return;
m_session.resetSts();
m_sts = ldh_CreateLoadFile((ldh_tSession*)&m_session); m_sts = ldh_CreateLoadFile((ldh_tSession*)&m_session);
if (evenSts()) if (evenSts())
return; return;
......
...@@ -139,6 +139,10 @@ public: ...@@ -139,6 +139,10 @@ public:
{ {
m_srep->recix_set_destination(d); m_srep->recix_set_destination(d);
} }
void resetSts()
{
m_sts = LDH__SUCCESS;
}
static void import_cb(wb_orep *o, wb_orep *os, void *data); static void import_cb(wb_orep *o, wb_orep *os, void *data);
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment