Module: sip-router
Branch: master
Commit: 5fe218c1ba48eeb4f1cecc0e26c4545972bc10a2
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5fe218c…
Author: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Committer: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Date: Tue May 4 17:06:47 2010 +0300
core:sr_module.c increased number of pre-allocated static buffers in get_str_fparam()
Increased the number from 3 to 6 as more are needed by modules like carrierroute when
avp's are used as function parameters
(Bug reported by Ole Kaas)
---
sr_module.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sr_module.c b/sr_module.c
index dabbda9..23f014f 100644
--- a/sr_module.c
+++ b/sr_module.c
@@ -1419,7 +1419,7 @@ int fixup_str_2(void** param, int param_no)
#define PV_PRINT_BUF_SIZE 1024
-#define PV_PRINT_BUF_NO 3
+#define PV_PRINT_BUF_NO 6
/** Get the function parameter value as string.
* @return 0 - Success
* -1 - Cannot get value