Module: sip-router
Branch: master
Commit: d4b2eee2e4f0e5a1fe4b5ea17d78d51a6fab70c7
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d4b2eeeā¦
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Fri Mar 19 14:47:46 2010 +0100
core: cfg parser: allow negative numbers in modparams
---
cfg.y | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cfg.y b/cfg.y
index 8bda2fc..a9350ec 100644
--- a/cfg.y
+++ b/cfg.y
@@ -1631,7 +1631,7 @@ module_stm:
yyerror("Can't set module parameter");
}
}
- | MODPARAM LPAREN STRING COMMA STRING COMMA NUMBER RPAREN {
+ | MODPARAM LPAREN STRING COMMA STRING COMMA intno RPAREN {
#ifdef SHM_MEM
if (!shm_initialized() && init_shm()<0) {
yyerror("Can't initialize shared memory");