Skip to content

Commit

Permalink
Removed wrong error message.
Browse files Browse the repository at this point in the history
If the counter does not exist, simply print NULL, do not throw an error

(cherry picked from commit aa61326)
  • Loading branch information
bogdan-iancu committed Mar 6, 2018
1 parent d99634e commit 090c017
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/ratelimit/ratelimit.c
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,6 @@ static int pv_get_rl_count(struct sip_msg *msg, pv_param_t *param,

counter = rl_get_counter_value(&res->rs);
if (counter < 0) {
LM_ERR("Cannot get counter's value\n");
return pv_get_null(msg, param, res);
}

Expand Down

0 comments on commit 090c017

Please sign in to comment.