[sr-dev] git:5.4:0675c3eb: presence: set correct type for local_log_facility modparam

Daniel-Constantin Mierla miconda at gmail.com
Wed May 26 08:30:59 CEST 2021


Module: kamailio
Branch: 5.4
Commit: 0675c3eb0fa95e19532cf812585f1eb021829dbc
URL: https://github.com/kamailio/kamailio/commit/0675c3eb0fa95e19532cf812585f1eb021829dbc

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2021-05-26T08:28:43+02:00

presence: set correct type for local_log_facility modparam

(cherry picked from commit 5f4662a95a97d5224bf03745a9a354a41925706c)
(cherry picked from commit 5bc7e1d636b617839f697838e326347b19cb0fcc)

---

Modified: src/modules/presence/presence.c

---

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

---

diff --git a/src/modules/presence/presence.c b/src/modules/presence/presence.c
index 301113aa03..09751bbc15 100644
--- a/src/modules/presence/presence.c
+++ b/src/modules/presence/presence.c
@@ -232,7 +232,7 @@ static param_export_t params[]={
 	{ "fetch_rows",             INT_PARAM, &pres_fetch_rows},
 	{ "db_table_lock_type",     INT_PARAM, &pres_db_table_lock_type},
 	{ "local_log_level",        PARAM_INT, &pres_local_log_level},
-	{ "local_log_facility",     PARAM_STR, &pres_log_facility_str},
+	{ "local_log_facility",     PARAM_STRING, &pres_log_facility_str},
 	{ "subs_remove_match",      PARAM_INT, &pres_subs_remove_match},
 	{ "xavp_cfg",               PARAM_STR, &pres_xavp_cfg},
 	{ "retrieve_order",         PARAM_INT, &pres_retrieve_order},




More information about the sr-dev mailing list