Module: kamailio
Branch: master
Commit: f8ae1b6278ade0f1fb73b536774f936e2d66373a
URL:
https://github.com/kamailio/kamailio/commit/f8ae1b6278ade0f1fb73b536774f936…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-06-18T09:33:23+02:00
app_ruby: removed wrong assignment
---
Modified: src/modules/app_ruby/app_ruby_api.c
---
Diff:
https://github.com/kamailio/kamailio/commit/f8ae1b6278ade0f1fb73b536774f936…
Patch:
https://github.com/kamailio/kamailio/commit/f8ae1b6278ade0f1fb73b536774f936…
---
diff --git a/src/modules/app_ruby/app_ruby_api.c b/src/modules/app_ruby/app_ruby_api.c
index 23246d7f4b..f16b15fe95 100644
--- a/src/modules/app_ruby/app_ruby_api.c
+++ b/src/modules/app_ruby/app_ruby_api.c
@@ -574,7 +574,6 @@ static VALUE app_ruby_sr_modf(int argc, VALUE* argv, VALUE self)
ret = 1;
act = NULL;
- argc = 0;
memset(rbv, 0, MAX_ACTIONS*sizeof(char*));
memset(paramv, 0, MAX_ACTIONS*sizeof(char*));
env_R = app_ruby_sr_env_get();
@@ -1070,4 +1069,4 @@ int app_ruby_kemi_export_libs(void)
int app_ruby_init_rpc(void)
{
return 0;
-}
\ No newline at end of file
+}