[sr-dev] git:tmp/k3.0_sr_backports: cfg.y: fix warnings introduced in previous commit

Andrei Pelinescu-Onciul andrei at iptel.org
Mon Feb 15 13:21:20 CET 2010


Module: sip-router
Branch: tmp/k3.0_sr_backports
Commit: 4625ccb8e56b2b32834d987b897ef728b09ce0c9
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4625ccb8e56b2b32834d987b897ef728b09ce0c9

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Tue Feb  9 11:32:02 2010 +0100

cfg.y: fix warnings introduced in previous commit
(cherry picked from commit 318ff6e6884641f3c9788b01e9ac3d859269be30)

---

 cfg.y |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cfg.y b/cfg.y
index 9a87ef7..2ca76bb 100644
--- a/cfg.y
+++ b/cfg.y
@@ -2725,7 +2725,7 @@ avpflag_oper:
 	| ISAVPFLAGSET { $$ = -1; }
 	;
 cmd:
-	| FORWARD LPAREN RPAREN { $$=mk_action(FORWARD_T, 2, URIHOST_ST, 0, URIPORT_ST, 0); set_cfg_pos($$); }
+	FORWARD LPAREN RPAREN { $$=mk_action(FORWARD_T, 2, URIHOST_ST, 0, URIPORT_ST, 0); set_cfg_pos($$); }
 	| FORWARD LPAREN host RPAREN	{ $$=mk_action(	FORWARD_T, 2, STRING_ST, $3, NUMBER_ST, 0); set_cfg_pos($$); }
 	| FORWARD LPAREN STRING RPAREN	{ $$=mk_action(	FORWARD_T, 2, STRING_ST, $3, NUMBER_ST, 0); set_cfg_pos($$); }
 	| FORWARD LPAREN ip RPAREN	{ $$=mk_action(	FORWARD_T, 2, IP_ST, (void*)$3, NUMBER_ST, 0); set_cfg_pos($$); }




More information about the sr-dev mailing list