Module: kamailio
Branch: master
Commit: 30b5ac9bf9d3e74b0c13a3d0c3ad5e441aa91fa9
URL:
https://github.com/kamailio/kamailio/commit/30b5ac9bf9d3e74b0c13a3d0c3ad5e4…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-08-26T13:40:31+02:00
app_lua: add NULL for new required parameter of sdpops api
---
Modified: modules/app_lua/app_lua_exp.c
---
Diff:
https://github.com/kamailio/kamailio/commit/30b5ac9bf9d3e74b0c13a3d0c3ad5e4…
Patch:
https://github.com/kamailio/kamailio/commit/30b5ac9bf9d3e74b0c13a3d0c3ad5e4…
---
diff --git a/modules/app_lua/app_lua_exp.c b/modules/app_lua/app_lua_exp.c
index 0fb7446..df88648 100644
--- a/modules/app_lua/app_lua_exp.c
+++ b/modules/app_lua/app_lua_exp.c
@@ -2220,7 +2220,7 @@ static int lua_sr_sdpops_remove_codecs_by_id(lua_State *L)
codecs.s = (char*)lua_tostring(L, -1);
codecs.len = strlen(codecs.s);
- ret = _lua_sdpopsb.sdp_remove_codecs_by_id(env_L->msg, &codecs);
+ ret = _lua_sdpopsb.sdp_remove_codecs_by_id(env_L->msg, &codecs, NULL);
return app_lua_return_int(L, ret);
}
@@ -2257,7 +2257,7 @@ static int lua_sr_sdpops_remove_codecs_by_name(lua_State *L)
codecs.s = (char*)lua_tostring(L, -1);
codecs.len = strlen(codecs.s);
- ret = _lua_sdpopsb.sdp_remove_codecs_by_name(env_L->msg, &codecs);
+ ret = _lua_sdpopsb.sdp_remove_codecs_by_name(env_L->msg, &codecs, NULL);
return app_lua_return_int(L, ret);
}