Module: kamailio
Branch: master
Commit: 24f507f4f0643cd6157b6ac1339be77afe0bdd64
URL:
https://github.com/kamailio/kamailio/commit/24f507f4f0643cd6157b6ac1339be77…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-04-24T20:55:10+02:00
app_sqlang: use only function name in the exports table
---
Modified: src/modules/app_sqlang/app_sqlang_api.c
---
Diff:
https://github.com/kamailio/kamailio/commit/24f507f4f0643cd6157b6ac1339be77…
Patch:
https://github.com/kamailio/kamailio/commit/24f507f4f0643cd6157b6ac1339be77…
---
diff --git a/src/modules/app_sqlang/app_sqlang_api.c
b/src/modules/app_sqlang/app_sqlang_api.c
index d1c6b79..648e802 100644
--- a/src/modules/app_sqlang/app_sqlang_api.c
+++ b/src/modules/app_sqlang/app_sqlang_api.c
@@ -1483,7 +1483,7 @@ SQInteger sqlang_open_KSR(HSQUIRRELVM J)
goto error;
}
_sr_crt_J_KSRMethods[i].nparamscheck = 0;
- snprintf(malias, 256, "%s.%s", mname, _sr_crt_J_KSRMethods[i].name);
+ snprintf(malias, 256, "%s", _sr_crt_J_KSRMethods[i].name);
sqlang_register_global_func(J, _sr_crt_J_KSRMethods[i].f, malias);
n++;
}