Module: kamailio
Branch: master
Commit: 3a02bf42bc182e0eb809e63d8fe828e3ece5f1da
URL:
https://github.com/kamailio/kamailio/commit/3a02bf42bc182e0eb809e63d8fe828e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-12-05T12:26:22+01:00
ims_charging: log message on db updated error
---
Modified: src/modules/ims_charging/ro_db_handler.c
---
Diff:
https://github.com/kamailio/kamailio/commit/3a02bf42bc182e0eb809e63d8fe828e…
Patch:
https://github.com/kamailio/kamailio/commit/3a02bf42bc182e0eb809e63d8fe828e…
---
diff --git a/src/modules/ims_charging/ro_db_handler.c
b/src/modules/ims_charging/ro_db_handler.c
index 7aaf6fb3a5d..d75126e33bc 100644
--- a/src/modules/ims_charging/ro_db_handler.c
+++ b/src/modules/ims_charging/ro_db_handler.c
@@ -717,7 +717,9 @@ void ro_update_db(unsigned int ticks, void *param)
for(ro_session = ro_session_entry.first; ro_session != NULL;
ro_session = ro_session->next) {
- update_ro_dbinfo_unsafe(ro_session);
+ if(update_ro_dbinfo_unsafe(ro_session) != 0) {
+ LM_ERR("failed to update ro_session in DB\n");
+ }
}
ro_session_unlock(ro_session_table, &ro_session_entry);
}