Commit c4d781f1 authored by Gautier Pelloux-Prayer's avatar Gautier Pelloux-Prayer
Browse files

call_log.c: inialize missing field start_date when using database

parent fd9bf8a7
......@@ -425,6 +425,7 @@ static int create_call_log(void *data, int argc, char **argv, char **colName) {
log->storage_id = storage_id;
log->duration = atoi(argv[4]);
log->start_date_time = (time_t)atol(argv[5]);
set_call_log_date(log,log->start_date_time);
log->connected_date_time = (time_t)atol(argv[6]);
log->status = (LinphoneCallStatus) atoi(argv[7]);
log->video_enabled = atoi(argv[8]) == 1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment