Module: kamailio
Branch: master
Commit: c7781edcb37a35193ccdb9414183919aaa614d3a
URL:
https://github.com/kamailio/kamailio/commit/c7781edcb37a35193ccdb9414183919…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Committer: Sergey Safarov <s.safarov(a)gmail.com>
Date: 2021-04-27T13:00:35+03:00
mohqueue: fixed compiler warning about array initialization
---
Modified: src/modules/mohqueue/mohq_funcs.c
---
Diff:
https://github.com/kamailio/kamailio/commit/c7781edcb37a35193ccdb9414183919…
Patch:
https://github.com/kamailio/kamailio/commit/c7781edcb37a35193ccdb9414183919…
---
diff --git a/src/modules/mohqueue/mohq_funcs.c b/src/modules/mohqueue/mohq_funcs.c
index dd9f105bfc..1f72c58c5a 100644
--- a/src/modules/mohqueue/mohq_funcs.c
+++ b/src/modules/mohqueue/mohq_funcs.c
@@ -2160,7 +2160,9 @@ int nsession;
sdp_session_cell_t *psession;
char pflagbuf [5];
strcpy (pflagbuf, "z20");
-fparam_t pzflag [1] = {"", FPARAM_STRING, {pflagbuf}, 0};
+fparam_t pzflag [1] = {
+ {"", FPARAM_STRING, {pflagbuf}, 0}
+};
for (nsession = 0; (psession = get_sdp_session (pmsg, nsession)); nsession++)
{
int nstream;