@oej commented on this pull request.


> @@ -1854,6 +1854,20 @@ static const char *rpc_presence_cleanup_doc[3] = {
                "presentity, and watchers tables.",
                0};
 
+
+void rpc_presence_htable_db_restore(rpc_t *rpc, void *c)
+{
+       LM_DBG("Restoring presence publ cache from database.\n");
+       pres_htable_db_restore();

This functions returns -1 on errors and you need to catch that and return a 
proper return code on success and errors.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3462#pullrequestreview-1434036897
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/pull/3462/review/1434036...@github.com>
_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to