<p>In <a href="https://github.com/OpenSIPS/opensips/pull/728#discussion_r48743740">modules/ratelimit/ratelimit_helper.c</a>:</p>
<pre style='color:#555'>&gt; @@ -920,6 +933,59 @@ void rl_rcv_bin(int packet_type, struct receive_info *ri, int server_id)
&gt;          RL_RELEASE_LOCK(hash_idx);
&gt;  }
&gt;  
&gt; +/*
&gt; + * same as hist_check() in ratelimit.c but this one
&gt; + * only counts, no updates on the window ==&gt; faster
&gt; + */
&gt; +static inline int hist_count(rl_pipe_t *pipe)
&gt; +{
&gt; +        /* Window ELement*/
&gt; +        #define WEL(__el__) pipe-&gt;rwin.__el__
</pre>
<p>Again, bad programming.</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/pull/728/files#r48743740">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOcie1691hVVX-eRUnBhRbtue4-spEaks5pWoxCgaJpZM4G3c6v.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/pull/728/files#r48743740"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>