<p></p>
<p>could you check this <a href="https://stackoverflow.com/questions/14670864/gcc-member-initialization-in-array-of-struct" rel="nofollow">https://stackoverflow.com/questions/14670864/gcc-member-initialization-in-array-of-struct</a><br>
Maybe</p>
<div class="highlight highlight-source-diff"><pre> sdp_session_cell_t *psession;
 char pflagbuf [5];
 strcpy (pflagbuf, "z20");
<span class="pl-md"><span class="pl-md">-</span>fparam_t pzflag [1] = {"", FPARAM_STRING, {pflagbuf}, 0};</span>
<span class="pl-mi1"><span class="pl-mi1">+</span>fparam_t pzflag [1] = {</span>
<span class="pl-mi1"><span class="pl-mi1">+</span>    {"", FPARAM_STRING, {pflagbuf}, 0}</span>
<span class="pl-mi1"><span class="pl-mi1">+</span>};</span>
 for (nsession = 0; (psession = get_sdp_session (pmsg, nsession)); nsession++)
   {
   int nstream;</pre></div>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2710#issuecomment-821806288">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZPPL6SFGBLPDY3KEYDTJFTU5ANCNFSM43BN77FA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZKINS2ZKE73GA5V4ULTJFTU5A5CNFSM43BN77FKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGD54JUA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2710#issuecomment-821806288",
"url": "https://github.com/kamailio/kamailio/issues/2710#issuecomment-821806288",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>