Module: kamailio Branch: master Commit: fc0e6275fa61f72c1fed0f69393f609cc682888c URL: https://github.com/kamailio/kamailio/commit/fc0e6275fa61f72c1fed0f69393f609c...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2015-10-27T11:26:23+01:00
tm: added braces around initializer of cancel reason map
- reported by Yacin Caner
---
Modified: modules/tm/t_cancel.c
---
Diff: https://github.com/kamailio/kamailio/commit/fc0e6275fa61f72c1fed0f69393f609c... Patch: https://github.com/kamailio/kamailio/commit/fc0e6275fa61f72c1fed0f69393f609c...
---
diff --git a/modules/tm/t_cancel.c b/modules/tm/t_cancel.c index ce18354..9db7abe 100644 --- a/modules/tm/t_cancel.c +++ b/modules/tm/t_cancel.c @@ -43,8 +43,8 @@ typedef struct cancel_reason_map { } cancel_reason_map_t;
static cancel_reason_map_t _cancel_reason_map[] = { - 200, str_init("Answered elsewhere"), - 0, {0, 0} + { 200, str_init("Answered elsewhere") }, + { 0, {0, 0} } };
/**