Module: sip-router Branch: master Commit: 6e65d12aae8613b3fdbc233e4661bd4fbf9bd3d0 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6e65d12a...
Author: Jan Janak jan@iptel.org Committer: Jan Janak jan@iptel.org Date: Sun Mar 8 04:17:54 2009 +0100
Kamailio compatiblity changes: REPLACE_BUFFER_SIZE
* Move the definition of MAX_REPLACE_WITH to the beginning of the file * Add the macro configuring default size of static buffer REPLACE_BUFFER_SIZE
---
re.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/re.c b/re.c index ecb8312..2ef7ad9 100644 --- a/re.c +++ b/re.c @@ -40,7 +40,8 @@
#include <string.h>
- +#define MAX_REPLACE_WITH 100 +#define REPLACE_BUFFER_SIZE 1024
void subst_expr_free(struct subst_expr* se) {