Module: kamailio
Branch: master
Commit: 2fda4db20ef258ac09c3680b8fab50b988a90f43
URL: 
https://github.com/kamailio/kamailio/commit/2fda4db20ef258ac09c3680b8fab50b988a90f43

Author: Samuel <samuel_is_k...@hotmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2017-11-27T08:29:08+01:00

path: updating the exported expected parameters to match the functions

- Mismatch between export and function declaration with regards to the quantity 
of parameters

---

Modified: src/modules/path/path_mod.c

---

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

---

diff --git a/src/modules/path/path_mod.c b/src/modules/path/path_mod.c
index 013e34003a..42c2023964 100644
--- a/src/modules/path/path_mod.c
+++ b/src/modules/path/path_mod.c
@@ -164,7 +164,7 @@ static int mod_init(void)
 static sr_kemi_t sr_kemi_path_exports[] = {
        { str_init("path"), str_init("add_path"),
                SR_KEMIP_INT, ki_add_path,
-               { SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,
+               { SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
                        SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
        },
        { str_init("path"), str_init("add_path_user"),
@@ -179,7 +179,7 @@ static sr_kemi_t sr_kemi_path_exports[] = {
        },
        { str_init("path"), str_init("add_path_received"),
                SR_KEMIP_INT, ki_add_path_received,
-               { SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,
+               { SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE,
                        SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
        },
        { str_init("path"), str_init("add_path_received_user"),


_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to