Module: kamailio Branch: 5.2 Commit: b16b9bf49d1b8437673c8913265daf8ee311e51a URL: https://github.com/kamailio/kamailio/commit/b16b9bf49d1b8437673c8913265daf8e...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2019-08-24T16:23:27+02:00
core: kemi - warning when using an unsupported method flag for is_method_in()
(cherry picked from commit 7dc450006743ea160864ce5583a4494fb1033e9e)
---
Modified: src/core/kemi.c
---
Diff: https://github.com/kamailio/kamailio/commit/b16b9bf49d1b8437673c8913265daf8e... Patch: https://github.com/kamailio/kamailio/commit/b16b9bf49d1b8437673c8913265daf8e...
---
diff --git a/src/core/kemi.c b/src/core/kemi.c index ccdc90cf18..fda12d72e4 100644 --- a/src/core/kemi.c +++ b/src/core/kemi.c @@ -869,6 +869,8 @@ static int sr_kemi_core_is_method_in(sip_msg_t *msg, str *vmethod) return SR_KEMI_TRUE; } break; + default: + LM_WARN("unsupported method flag: %c\n", vmethod->s[i]); } } return SR_KEMI_FALSE;