[sr-dev] git:master:30b5ac9b: app_lua: add NULL for new required parameter of sdpops api
Daniel-Constantin Mierla
miconda at gmail.com
Fri Aug 26 13:41:16 CEST 2016
Module: kamailio
Branch: master
Commit: 30b5ac9bf9d3e74b0c13a3d0c3ad5e441aa91fa9
URL: https://github.com/kamailio/kamailio/commit/30b5ac9bf9d3e74b0c13a3d0c3ad5e441aa91fa9
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/30b5ac9bf9d3e74b0c13a3d0c3ad5e441aa91fa9.diff
Patch: https://github.com/kamailio/kamailio/commit/30b5ac9bf9d3e74b0c13a3d0c3ad5e441aa91fa9.patch
---
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);
}
More information about the sr-dev
mailing list