chash fixed
authorAlex Kirhenshtein <alk@netxms.org>
Wed, 13 Apr 2011 11:47:12 +0000 (11:47 +0000)
committerAlex Kirhenshtein <alk@netxms.org>
Wed, 13 Apr 2011 11:47:12 +0000 (11:47 +0000)
sdk/samples/subagent/sample-subagent.cpp

index b0fc89b..0093c22 100644 (file)
@@ -125,7 +125,8 @@ static NETXMS_SUBAGENT_INFO m_info =
        sizeof(m_enums) / sizeof(NETXMS_SUBAGENT_LIST),
        m_enums,
        0, NULL,        // tables
-   sizeof(m_actions) / sizeof(NETXMS_SUBAGENT_ACTION),
+       sizeof(m_actions) / sizeof(NETXMS_SUBAGENT_ACTION),
+       m_actions,
        0, NULL // push parameters
 };