summaryrefslogtreecommitdiff
path: root/src/offlinelogstorage/dlt_offline_logstorage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/offlinelogstorage/dlt_offline_logstorage.c')
-rw-r--r--src/offlinelogstorage/dlt_offline_logstorage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/offlinelogstorage/dlt_offline_logstorage.c b/src/offlinelogstorage/dlt_offline_logstorage.c
index 374bbb6..09f7c06 100644
--- a/src/offlinelogstorage/dlt_offline_logstorage.c
+++ b/src/offlinelogstorage/dlt_offline_logstorage.c
@@ -798,7 +798,7 @@ DLT_STATIC int dlt_logstorage_prepare_table(DltLogStorage *handle,
if (handle->newest_file_list == NULL)
handle->newest_file_list = new_tmp;
else
- tmp->next = new_tmp;
+ handle->newest_file_list->next = new_tmp;
}
}