[sr-dev] git:master:52f728f7: core: cfg.y - fixed condition on case parsing

Daniel-Constantin Mierla miconda at gmail.com
Tue Jul 4 09:01:09 CEST 2017


Module: kamailio
Branch: master
Commit: 52f728f73914ab960389ff8afbf1a223f91f07e2
URL: https://github.com/kamailio/kamailio/commit/52f728f73914ab960389ff8afbf1a223f91f07e2

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2017-07-04T09:00:45+02:00

core: cfg.y - fixed condition on case parsing

---

Modified: src/core/cfg.y

---

Diff:  https://github.com/kamailio/kamailio/commit/52f728f73914ab960389ff8afbf1a223f91f07e2.diff
Patch: https://github.com/kamailio/kamailio/commit/52f728f73914ab960389ff8afbf1a223f91f07e2.patch

---

diff --git a/src/core/cfg.y b/src/core/cfg.y
index 59125a1659..067b0f0dee 100644
--- a/src/core/cfg.y
+++ b/src/core/cfg.y
@@ -2389,7 +2389,7 @@ single_case:
 		}
 	}
 	| DEFAULT COLON actions {
-		if ((($$=mk_case_stm(0, 0, $3, &i_tmp))==0) && (i_tmp=-10)){
+		if ((($$=mk_case_stm(0, 0, $3, &i_tmp))==0) && (i_tmp==-10)){
 				YYABORT;
 		}
 	}




More information about the sr-dev mailing list