Fixed compiler warnings
authorEriks Jenkevics <eriks@netxms.org>
Mon, 27 Nov 2017 13:14:41 +0000 (15:14 +0200)
committerEriks Jenkevics <eriks@netxms.org>
Mon, 27 Nov 2017 13:14:41 +0000 (15:14 +0200)
src/server/core/dcitem.cpp
src/server/core/dctable.cpp

index 02434b6..b1043dd 100644 (file)
@@ -1519,7 +1519,7 @@ void DCItem::createExportRecord(String &str)
                           (const TCHAR *)EscapeStringForXML2(m_instance),
                           (const TCHAR *)EscapeStringForXML2(m_systemTag),
                                                                  (int)m_deltaCalculation, (int)m_flags,
-                                                                 (int)m_snmpRawValueType, (int)m_snmpPort, (int)m_instanceDiscoveryMethod,m_instanceRetentionTime);
+                                                                 (int)m_snmpRawValueType, (int)m_snmpPort, (int)m_instanceDiscoveryMethod, m_instanceRetentionTime);
 
        if (m_transformationScriptSource != NULL)
        {
index f0dfe8f..cc80ef9 100644 (file)
@@ -996,7 +996,7 @@ void DCTable::createExportRecord(String &str)
                           (int)m_source, m_iPollingInterval, m_iRetentionTime,
                           (const TCHAR *)EscapeStringForXML2(m_systemTag),
                                                                  (int)m_flags, (int)m_snmpPort, (int)m_instanceDiscoveryMethod,
-                                                                 (const TCHAR *)EscapeStringForXML2(m_instance)), m_instanceRetentionTime;
+                                                                 (const TCHAR *)EscapeStringForXML2(m_instance), m_instanceRetentionTime);
 
        if (m_transformationScriptSource != NULL)
        {