"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/server/core/abind_target.cpp" between
netxms-3.8.382.tar.gz and netxms-3.8.405.tar.gz

About: NetXMS is a multi-platform open source network management and monitoring system.

abind_target.cpp  (netxms-3.8.382):abind_target.cpp  (netxms-3.8.405)
skipping to change at line 78 skipping to change at line 78
MemFree(m_bindFilterSource); MemFree(m_bindFilterSource);
delete m_bindFilter; delete m_bindFilter;
if (filter != nullptr) if (filter != nullptr)
{ {
TCHAR error[256]; TCHAR error[256];
m_bindFilterSource = MemCopyString(filter); m_bindFilterSource = MemCopyString(filter);
m_bindFilter = NXSLCompile(m_bindFilterSource, error, 256, nullptr); m_bindFilter = NXSLCompile(m_bindFilterSource, error, 256, nullptr);
if (m_bindFilter == nullptr) if (m_bindFilter == nullptr)
{ {
TCHAR buffer[1024]; TCHAR buffer[1024];
_sntprintf(buffer, 1024, _T("%s::%s::%d"), m_this->getObjectClassName() _sntprintf(buffer, 1024, _T("AutoBind::%s::%s"), m_this->getObjectClass
, m_this->getName(), m_this->getId()); Name(), m_this->getName());
PostSystemEvent(EVENT_SCRIPT_ERROR, g_dwMgmtNode, "ssd", buffer, error, PostSystemEvent(EVENT_SCRIPT_ERROR, g_dwMgmtNode, "ssd", buffer, error,
m_this->getId()); 0);
nxlog_write(NXLOG_WARNING, _T("Failed to compile autobind script for ob ject %s [%u] (%s)"), m_this->getName(), m_this->getId(), error); nxlog_write(NXLOG_WARNING, _T("Failed to compile autobind script for ob ject %s [%u] (%s)"), m_this->getName(), m_this->getId(), error);
} }
} }
else else
{ {
m_bindFilterSource = nullptr; m_bindFilterSource = nullptr;
m_bindFilter = nullptr; m_bindFilter = nullptr;
} }
internalUnlock(); internalUnlock();
} }
 End of changes. 1 change blocks. 
4 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)