<p>Wouldn't <code>memset()</code> be a cleaner approach? It would also initialize all those <code>str</code> fields.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/commit/fb3923d7d578a9a9d3a2c0c3427df3c1c9ee1f44#commitcomment-14565779">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciYnH4MN4_cNB-INRuKfrmPB7x1FRks5pIzdUgaJpZM4GnqOz.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/OpenSIPS/opensips/commit/fb3923d7d578a9a9d3a2c0c3427df3c1c9ee1f44#commitcomment-14565779"></link>
  <meta itemprop="name" content="View Commit"></meta>
</div>
<meta itemprop="description" content="View this Commit on GitHub"></meta>
</div>