[sr-dev] git:master:5f4662a9: presence: set correct type for local_log_facility modparam

Daniel-Constantin Mierla miconda at gmail.com
Wed May 12 18:15:22 CEST 2021


Module: kamailio
Branch: master
Commit: 5f4662a95a97d5224bf03745a9a354a41925706c
URL: https://github.com/kamailio/kamailio/commit/5f4662a95a97d5224bf03745a9a354a41925706c

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2021-05-12T18:14:29+02:00

presence: set correct type for local_log_facility modparam

---

Modified: src/modules/presence/presence.c

---

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