Clean-up: sessiond: change spaces to tab
[lttng-tools.git] / src / bin / lttng-sessiond / client.c
index a36b81c18a127b536f0a11abf5d48ccc2fafe4be..a878c79bdceedf7d20e31e7552019bc38ddb48e2 100644 (file)
@@ -495,6 +495,7 @@ static int create_kernel_session(struct ltt_session *session)
        session->kernel_session->gid = session->gid;
        session->kernel_session->output_traces = session->output_traces;
        session->kernel_session->snapshot_mode = session->snapshot_mode;
+       session->kernel_session->is_live_session = session->live_timer != 0;
 
        return LTTNG_OK;
 
@@ -2214,7 +2215,7 @@ static void *thread_manage_clients(void *data)
        }
 
        /* Set state as running. */
-        set_thread_status(true);
+       set_thread_status(true);
        pthread_cleanup_pop(0);
 
        /* This testpoint is after we signal readiness to the parent. */
@@ -2352,8 +2353,8 @@ static void *thread_manage_clients(void *data)
                                if (ret) {
                                        PERROR("close");
                                }
-                        }
-                        sock = -1;
+                       }
+                       sock = -1;
                        /*
                         * TODO: Inform client somehow of the fatal error. At
                         * this point, ret < 0 means that a zmalloc failed
@@ -2395,8 +2396,8 @@ static void *thread_manage_clients(void *data)
                        if (ret) {
                                PERROR("close");
                        }
-                }
-                sock = -1;
+               }
+               sock = -1;
 
                clean_command_ctx(&cmd_ctx);
 
This page took 0.024527 seconds and 5 git commands to generate.