Module: kamailio
Branch: master
Commit: 84f9c64101395f5b754e2141972cea883f2ae6cc
URL:
https://github.com/kamailio/kamailio/commit/84f9c64101395f5b754e2141972cea8…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-06-03T09:53:49+02:00
app_python: removed unused function to return str variants
---
Modified: src/modules/app_python/apy_kemi.c
---
Diff:
https://github.com/kamailio/kamailio/commit/84f9c64101395f5b754e2141972cea8…
Patch:
https://github.com/kamailio/kamailio/commit/84f9c64101395f5b754e2141972cea8…
---
diff --git a/src/modules/app_python/apy_kemi.c b/src/modules/app_python/apy_kemi.c
index 3dd0de3153..19d67dbd0a 100644
--- a/src/modules/app_python/apy_kemi.c
+++ b/src/modules/app_python/apy_kemi.c
@@ -1824,21 +1824,6 @@ static sr_kemi_t _sr_apy_kemi_test[] = {
{ {0, 0}, {0, 0}, 0, NULL, { 0, 0, 0, 0, 0, 0 } }
};
-/**
- *
- */
-PyObject *sr_apy_kemi_return_none_mode(int rmode)
-{
- if(rmode==1) {
- return sr_apy_kemi_return_str(NULL, "<<null>>", 8);
- } else if(rmode==2) {
- return sr_apy_kemi_return_str(NULL, "", 0);
- } else {
- return sr_apy_kemi_return_none();
- }
-}
-
-
/**
*
*/