Browse code

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)
(cherry picked from commit 4fd1e775f701d79d1d7f5e75bd7ff621739914b5)

Marius Zbihlei authored on 04/05/2010 14:06:47 • Andrei Pelinescu-Onciul committed on 28/05/2010 18:45:38
Showing 1 changed files
... ...
@@ -1415,7 +1415,7 @@ int fixup_str_2(void** param, int param_no)
1415 1415
 
1416 1416
 
1417 1417
 #define PV_PRINT_BUF_SIZE  1024
1418
-#define PV_PRINT_BUF_NO    3
1418
+#define PV_PRINT_BUF_NO    6
1419 1419
 /** Get the function parameter value as string.
1420 1420
  *  @return  0 - Success
1421 1421
  *          -1 - Cannot get value