Fix: thread_registration_apps should set its local sock to -1 when passing it
[lttng-tools.git] / src / bin / lttng-sessiond / main.c
index 5644cb82d9998b74f55e5a9c13a0ab77cb7d7dde..9e4bab468f1462308f6c5377a049847015824e1b 100644 (file)
@@ -1431,6 +1431,7 @@ static void *thread_registration_apps(void *data)
                                        }
 
                                        ust_cmd->sock = sock;
+                                       sock = -1;
 
                                        DBG("UST registration received with pid:%d ppid:%d uid:%d"
                                                        " gid:%d sock:%d name:%s (version %d.%d)",
This page took 0.025095 seconds and 5 git commands to generate.