Module: kamailio
Branch: master
Commit: e272eea0229678b4446a3907b7360c61c273caa7
URL:
https://github.com/kamailio/kamailio/commit/e272eea0229678b4446a3907b7360c6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-04-08T12:36:49+02:00
permissions: return ret variable set inside double_fixup()
---
Modified: src/modules/permissions/permissions.c
---
Diff:
https://github.com/kamailio/kamailio/commit/e272eea0229678b4446a3907b7360c6…
Patch:
https://github.com/kamailio/kamailio/commit/e272eea0229678b4446a3907b7360c6…
---
diff --git a/src/modules/permissions/permissions.c
b/src/modules/permissions/permissions.c
index d5655206e4..6f1b36cf23 100644
--- a/src/modules/permissions/permissions.c
+++ b/src/modules/permissions/permissions.c
@@ -548,7 +548,7 @@ static int double_fixup(void** param, int param_no)
*param = tmp;
pkg_free(buffer);
- return 0;
+ return ret;
} else if (param_no == 2) { /* pseudo variable */