[OpenSIPS/opensips] d7ac87: 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] d7ac87: Fixed $log_level for returning negative values

Dan Pascu-2
  Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d7ac87cf99481585cd63d75d53aca9c8de014b41
      https://github.com/OpenSIPS/opensips/commit/d7ac87cf99481585cd63d75d53aca9c8de014b41
  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