Move health comm to health-internal.h
[lttng-tools.git] / src / bin / lttng-sessiond / main.c
index a54c0bf8df0a7c76d1bd39f4a4b99273501cb214..e119c8bf0305f6d19084dcfe04f9f12abbe12c9e 100644 (file)
@@ -3457,8 +3457,8 @@ static void *thread_manage_health(void *data)
        int sock = -1, new_sock = -1, ret, i, pollfd, err = -1;
        uint32_t revents, nb_fd;
        struct lttng_poll_event events;
-       struct lttcomm_health_msg msg;
-       struct lttcomm_health_data reply;
+       struct health_comm_msg msg;
+       struct health_comm_reply reply;
 
        DBG("[thread] Manage health check started");
 
@@ -4727,7 +4727,6 @@ int main(int argc, char **argv)
                PERROR("health_app_create error");
                goto exit_health_sessiond_cleanup;
        }
-       health_init(health_sessiond);
 
        /* Create thread to manage the client socket */
        ret = pthread_create(&ht_cleanup_thread, NULL,
This page took 0.026814 seconds and 5 git commands to generate.