/* set the correct line timeout */
if (msg->IsTranmission())
{
- if (msg->tries == 1)
- m_com->SetLineTimeout(msg->lineTimeout);
- else
- m_com->SetLineTimeout(msg->retryTimeout);
+ m_com->SetLineTimeout(msg->lineTimeout);
}
CCECAdapterMessageQueueEntry *entry(NULL);
CLockObject lock(m_mutex);
m_messages.erase(iEntryId);
+ delete entry;
}
return bReturn;