Ack.

regards,

Anders Widell


On 11/07/2017 03:28 PM, Hans Nordeback wrote:
---
  src/dtm/dtmnd/dtm_main.cc | 16 ++++++++--------
  1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/dtm/dtmnd/dtm_main.cc b/src/dtm/dtmnd/dtm_main.cc
index f8d7e531a..cf0b81f8a 100644
--- a/src/dtm/dtmnd/dtm_main.cc
+++ b/src/dtm/dtmnd/dtm_main.cc
@@ -282,21 +282,21 @@ int main(int argc, char *argv[]) {
    }
/*************************************************************/
-  /* Set up the initial node_discovery_task  */
+  /* Set up the initialservice_discovery_task */
    /*************************************************************/
-  rc = dtm_node_discovery_task_create();
+  rc = dtm_service_discovery_init(dtms_cb);
    if (NCSCC_RC_SUCCESS != rc) {
-    LOG_ER("DTM: node_discovery thread CREATE failed rc : %d ", rc);
-    goto done2;
+    LOG_ER("DTM:service_discovery thread CREATE failed rc : %d ", rc);
+    goto done1;
    }
/*************************************************************/
-  /* Set up the initialservice_discovery_task */
+  /* Set up the initial node_discovery_task  */
    /*************************************************************/
-  rc = dtm_service_discovery_init(dtms_cb);
+  rc = dtm_node_discovery_task_create();
    if (NCSCC_RC_SUCCESS != rc) {
-    LOG_ER("DTM:service_discovery thread CREATE failed rc : %d ", rc);
-    goto done1;
+    LOG_ER("DTM: node_discovery thread CREATE failed rc : %d ", rc);
+    goto done2;
    }
rc = nid_notify("TRANSPORT", NCSCC_RC_SUCCESS, nullptr);


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to