> @@ -920,6 +933,59 @@ void rl_rcv_bin(int packet_type, struct receive_info
> *ri, int server_id)
> RL_RELEASE_LOCK(hash_idx);
> }
>
> +/*
> + * same as hist_check() in ratelimit.c but this one
> + * only counts, no updates on the window ==> faster
> + */
> +static inline int hist_count(rl_pipe_t *pipe)
> +{
> + /* Window ELement*/
> + #define WEL(__el__) pipe->rwin.__el__
Again, bad programming.
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/728/files#r48743740
_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel