[sr-dev] git:master:fc0e6275: tm: added braces around initializer of cancel reason map
Daniel-Constantin Mierla
miconda at gmail.com
Tue Oct 27 11:27:42 CET 2015
Module: kamailio
Branch: master
Commit: fc0e6275fa61f72c1fed0f69393f609cc682888c
URL: https://github.com/kamailio/kamailio/commit/fc0e6275fa61f72c1fed0f69393f609cc682888c
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/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} }
};
/**
More information about the sr-dev
mailing list