[sr-dev] git:master:ac8cc0a3: app_lua: updated the utils/app_lua_ctl
Daniel-Constantin Mierla
miconda at gmail.com
Fri Nov 24 19:08:08 CET 2017
Module: kamailio
Branch: master
Commit: ac8cc0a3735325ec79a4a634eea6bcdcea4affe7
URL: https://github.com/kamailio/kamailio/commit/ac8cc0a3735325ec79a4a634eea6bcdcea4affe7
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/ac8cc0a3735325ec79a4a634eea6bcdcea4affe7.diff
Patch: https://github.com/kamailio/kamailio/commit/ac8cc0a3735325ec79a4a634eea6bcdcea4affe7.patch
---
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;
More information about the sr-dev
mailing list