Module: kamailio
Branch: master
Commit: ac8cc0a3735325ec79a4a634eea6bcdcea4affe7
URL:
https://github.com/kamailio/kamailio/commit/ac8cc0a3735325ec79a4a634eea6bcd…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-11-24T19:00:34+01:00
app_lua: updated the utils/app_lua_ctl
---
Modified: src/modules/app_lua/utils/app_lua_ctl
---
Diff:
https://github.com/kamailio/kamailio/commit/ac8cc0a3735325ec79a4a634eea6bcd…
Patch:
https://github.com/kamailio/kamailio/commit/ac8cc0a3735325ec79a4a634eea6bcd…
---
diff --git a/src/modules/app_lua/utils/app_lua_ctl
b/src/modules/app_lua/utils/app_lua_ctl
index 6a85943dda..e4ef9aca8c 100755
--- a/src/modules/app_lua/utils/app_lua_ctl
+++ b/src/modules/app_lua/utils/app_lua_ctl
@@ -142,6 +142,9 @@ lua_CFunction sr_kemi_lua_export_associate(sr_kemi_t *ket)
_sr_kemi_lua_export_list[i].ket = ket;
return _sr_kemi_lua_export_list[i].pfunc;
}
+ if(_sr_kemi_lua_export_list[i].ket==ket) {
+ return _sr_kemi_lua_export_list[i].pfunc;
+ }
}
LM_ERR("no more indexing slots\n");
return NULL;