[OpenSIPS-Devel] [OpenSIPS/opensips] 451591: Variables comparing: first try to interpret operan...

Răzvan Crainea noreply at github.com
Tue Feb 9 13:20:01 EST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 451591f8e859baff831bdf293c0efbb739910796
      https://github.com/OpenSIPS/opensips/commit/451591f8e859baff831bdf293c0efbb739910796
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2021-02-09 (Tue, 09 Feb 2021)

  Changed paths:
    M route.c

  Log Message:
  -----------
  Variables comparing: first try to interpret operands as int

Before this commit, all variables were interpreted as strings, thus
comparing was always done against strigs. This broke simple
comparisons such as $var(x) < $var(y), where $var(x) = 7 and $var(y) =
100; introduced in c13786c4





More information about the Devel mailing list