[sr-dev] git:5.3:42017326: presence: fix build

Stefan Mititelu stefan-cristian.mititelu at 1and1.ro
Mon Oct 25 09:11:50 CEST 2021


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

Author: Stefan Mititelu <stefan-cristian.mititelu at 1and1.ro>
Committer: Stefan Mititelu <stefan-cristian.mititelu at 1and1.ro>
Date: 2021-10-25T10:00:21+03:00

presence: fix build

---

Modified: src/modules/presence/presence_dmq.c

---

Diff:  https://github.com/kamailio/kamailio/commit/420173265bbcd484deeb289f2d7009c3a6bb3294.diff
Patch: https://github.com/kamailio/kamailio/commit/420173265bbcd484deeb289f2d7009c3a6bb3294.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