[sr-dev] git:5.3:eee27448: Merge pull request #2901 from smititelu/5.3

GitHub noreply at github.com
Mon Oct 25 09:11:50 CEST 2021


Module: kamailio
Branch: 5.3
Commit: eee27448e603d554b1486376909947995c94d207
URL: https://github.com/kamailio/kamailio/commit/eee27448e603d554b1486376909947995c94d207

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: GitHub <noreply at github.com>
Date: 2021-10-25T09:11:46+02:00

Merge pull request #2901 from smititelu/5.3

presence: fix build

---

Modified: src/modules/presence/presence_dmq.c

---

Diff:  https://github.com/kamailio/kamailio/commit/eee27448e603d554b1486376909947995c94d207.diff
Patch: https://github.com/kamailio/kamailio/commit/eee27448e603d554b1486376909947995c94d207.patch

---

diff --git a/src/modules/presence/presence_dmq.c b/src/modules/presence/presence_dmq.c
index 8dd7c99fe8..a9ed2f2f4e 100644
--- a/src/modules/presence/presence_dmq.c
+++ b/src/modules/presence/presence_dmq.c
@@ -102,7 +102,7 @@ static int pres_dmq_init_proc()
 		}
 	}
 
-	if(publ_cache_mode==PS_PCACHE_RECORD && pres_subs_dbmode==NO_DB) {
+	if(publ_cache_enabled && subs_dbmode==NO_DB) {
 		goto finish;
 	}
 




More information about the sr-dev mailing list