Add initial "no rotation" state to session rotation states
[lttng-tools.git] / src / bin / lttng-sessiond / session.c
index 39c5611d77777d475be4a6b9d838c4fb815d7fca..2b7d65eaa1b61fbae82a230ee2a6b7247505d0ac 100644 (file)
@@ -401,6 +401,7 @@ int session_create(char *name, uid_t uid, gid_t gid)
        }
 
        new_session->rotate_pending = false;
+       new_session->rotation_state = LTTNG_ROTATION_STATE_NO_ROTATION;
        new_session->rotate_pending_relay = false;
        new_session->rotate_relay_pending_timer_enabled = false;
        new_session->rotate_timer = false;
This page took 0.022462 seconds and 4 git commands to generate.