Module: kamailio Branch: 5.0 Commit: ee395d8a7959db396b0212e1ef5c84bb55c4244f URL: https://github.com/kamailio/kamailio/commit/ee395d8a7959db396b0212e1ef5c84bb55c4244f
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2018-02-28T10:53:05+01:00 cfgutils: fix kemi wrappers for locking functions - sip_msg_t* argument was missing, reported by GH #1459 (cherry picked from commit c9cd7b9212291e7d0846103cd2d4c8613dd667a1) (cherry picked from commit 34e21ce10787094cfe0ce7a3013c4f503cc15d35) --- Modified: src/modules/cfgutils/cfgutils.c --- Diff: https://github.com/kamailio/kamailio/commit/ee395d8a7959db396b0212e1ef5c84bb55c4244f.diff Patch: https://github.com/kamailio/kamailio/commit/ee395d8a7959db396b0212e1ef5c84bb55c4244f.patch --- diff --git a/src/modules/cfgutils/cfgutils.c b/src/modules/cfgutils/cfgutils.c index bfde86770f..53953d9d06 100644 --- a/src/modules/cfgutils/cfgutils.c +++ b/src/modules/cfgutils/cfgutils.c @@ -682,17 +682,17 @@ static int cfg_lock_helper(str *lkey, int mode) return 1; } -static int cfg_lock(str *lkey) +static int cfg_lock(sip_msg_t *msg, str *lkey) { return cfg_lock_helper(lkey, 0); } -static int cfg_unlock(str *lkey) +static int cfg_unlock(sip_msg_t *msg, str *lkey) { return cfg_lock_helper(lkey, 1); } -static int cfg_trylock(str *lkey) +static int cfg_trylock(sip_msg_t *msg, str *lkey) { return cfg_lock_helper(lkey, 2); } _______________________________________________ Kamailio (SER) - Development Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
