[OpenSIPS/opensips] f31de6: Fixed $log_level for returning negative values

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OpenSIPS/opensips] f31de6: Fixed $log_level for returning negative values

Vlad Pătrașcu
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f31de6d6dfc33b289ca99e8e47bb746bb840f006
      https://github.com/OpenSIPS/opensips/commit/f31de6d6dfc33b289ca99e8e47bb746bb840f006
  Author: Bogdan-Andrei Iancu <[hidden email]>
  Date:   2019-03-11 (Mon, 11 Mar 2019)

  Changed paths:
    M pvar.c

  Log Message:
  -----------
  Fixed $log_level for returning negative values

Use signed function to covert from int to str, as log_leve may be negative (-1==ERR).

(cherry picked from commit 0b465a386b4759dfb51b6265484deb5d9dd7710e)



_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel