diff --git a/srcs/vcpe_main.c b/srcs/vcpe_main.c index 477117f..be9942c 100644 --- a/srcs/vcpe_main.c +++ b/srcs/vcpe_main.c @@ -110,7 +110,7 @@ int main(int argc, char **argv) { task_manager_run(); const char *pStrExit = proto_create_new(create_app_process_status(0), 200); - inet_http_post_async(config_get_agent_moniter_report_url(), pStrSetup, on_http_response_cb, (void *)pStrSetup); + inet_http_post_async(config_get_agent_moniter_report_url(), pStrSetup, on_http_response_cb, (void *)pStrExit); while (!is_system_cleanup()) { sleep(1);