ACSM data mut be unescaped before parsing

Add a copy constructor to Exception
Start an authentication when E_ADEPT_DISTRIBUTOR_AUTH error is received during fulfill
Don't download external libraries if it already exists
This commit is contained in:
2021-07-16 20:38:32 +02:00
parent 1eebc88913
commit 878e4e7453
4 changed files with 62 additions and 21 deletions

View File

@@ -129,6 +129,14 @@ namespace gourou
fullmessage = strdup(msg.str().c_str());
}
Exception(const Exception& other)
{
this->code = other.code;
this->line = line;
this->file = file;
this->fullmessage = strdup(other.fullmessage);
}
~Exception()
{
free(fullmessage);