Module: kamailio
Branch: master
Commit: 446892331900c2303e531da55bcb494ccb2d8bce
URL:
https://github.com/kamailio/kamailio/commit/446892331900c2303e531da55bcb494…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-02-13T20:19:38+01:00
topos: use proper field for datetime value
---
Modified: src/modules/topos/tps_storage.c
---
Diff:
https://github.com/kamailio/kamailio/commit/446892331900c2303e531da55bcb494…
Patch:
https://github.com/kamailio/kamailio/commit/446892331900c2303e531da55bcb494…
---
diff --git a/src/modules/topos/tps_storage.c b/src/modules/topos/tps_storage.c
index 56d56776a4..e0649b683d 100644
--- a/src/modules/topos/tps_storage.c
+++ b/src/modules/topos/tps_storage.c
@@ -890,7 +890,7 @@ int tps_db_insert_branch(tps_data_t *td)
db_keys[nr_keys] = &tt_col_rectime;
db_vals[nr_keys].type = DB1_DATETIME;
- db_vals[nr_keys].val.int_val = time(NULL);
+ db_vals[nr_keys].val.time_val = time(NULL);
nr_keys++;
db_keys[nr_keys] = &tt_col_a_callid;