Revise the time buffer array size
[platform/core/multimedia/mmsvc-core.git] / server / src / muse_server_private.c
index 597c656..5de95ab 100644 (file)
@@ -261,7 +261,7 @@ static gboolean _ms_connection_handler(GIOChannel *source, GIOCondition conditio
        intptr_t module_addr = 0;
        GQueue *instance_queue = NULL;
        ms_connection_t *connection = NULL;
-       char time_buf[MUSE_MSG_LEN];
+       char time_buf[MUSE_MSG_TIME_LEN];
 
        muse_return_val_if_fail(channel == MUSE_CHANNEL_MSG || channel == MUSE_CHANNEL_DATA, FALSE);
 
@@ -412,7 +412,7 @@ static void _ms_check_idle_state(void)
        uint32_t elapsed_time;
        struct timespec tv;
        static int period_idx = 1;
-       char time_buf[MUSE_MSG_LEN];
+       char time_buf[MUSE_MSG_TIME_LEN];
 
        muse_return_if_fail(muse_server);
        muse_return_if_fail(muse_server->state == MUSE_SERVER_STATE_READY);
@@ -579,7 +579,7 @@ static void _ms_diag_deinit(void)
 static gboolean _ms_idle_cb(gpointer user_data)
 {
        struct timespec tv;
-       char time_buf[MUSE_MSG_LEN];
+       char time_buf[MUSE_MSG_TIME_LEN];
 
        if (!ms_create_ready_file())
                LOGE("%s file creation is failed", MUSE_SERVER_READY);