Clean-up: replace space by tabs
[lttng-tools.git] / src / bin / lttng-sessiond / client.c
index a36b81c18a127b536f0a11abf5d48ccc2fafe4be..f6f80286963dddff18ba3e91443e86efe5b3eb39 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->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;
 
 
        return LTTNG_OK;
 
@@ -2352,8 +2353,8 @@ static void *thread_manage_clients(void *data)
                                if (ret) {
                                        PERROR("close");
                                }
                                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
                        /*
                         * 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");
                        }
                        if (ret) {
                                PERROR("close");
                        }
-                }
-                sock = -1;
+               }
+               sock = -1;
 
                clean_command_ctx(&cmd_ctx);
 
 
                clean_command_ctx(&cmd_ctx);
 
This page took 0.024586 seconds and 4 git commands to generate.