Module: kamailio Branch: master Commit: fc0e6275fa61f72c1fed0f69393f609cc682888c URL: https://github.com/kamailio/kamailio/commit/fc0e6275fa61f72c1fed0f69393f609cc682888c
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> 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/fc0e6275fa61f72c1fed0f69393f609cc682888c.diff Patch: https://github.com/kamailio/kamailio/commit/fc0e6275fa61f72c1fed0f69393f609cc682888c.patch --- 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} } }; /** _______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
