Module: kamailio
Branch: master
Commit: 52f728f73914ab960389ff8afbf1a223f91f07e2
URL:
https://github.com/kamailio/kamailio/commit/52f728f73914ab960389ff8afbf1a22…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/52f728f73914ab960389ff8afbf1a22…
Patch:
https://github.com/kamailio/kamailio/commit/52f728f73914ab960389ff8afbf1a22…
---
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;
}
}