[OpenSIPS/opensips] 85b799: dispatcher: Swap ds_mark_dst() parameters [BACKWAR...

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

[OpenSIPS/opensips] 85b799: dispatcher: Swap ds_mark_dst() parameters [BACKWAR...

Răzvan Crainea-3
  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 85b79918bb28bdbd7c267af87c111128b5ac089f
  Author: Liviu Chircu <[hidden email]>
  Date:   2019-06-12 (Wed, 12 Jun 2019)

  Changed paths:
    M modules/dispatcher/dispatcher.c
    M modules/dispatcher/doc/dispatcher_admin.xml

  Log Message:
  dispatcher: Swap ds_mark_dst() parameters [BACKWARDS-INCOMPATIBLE]

In 3.0, ds_mark_dst() had its parameters swapped by mistake, without any
real benefit in doing so, both breaking backwards-compatibility and also
leading to uglier script, such as:

    ds_mark_dst(, "p");

This commit simply reverts the function to its previous behavior,
addressing both issues above.  Hopefully, I don't upset too many people
who migrated to 3.0 during this month following the stable release.

(cherry picked from commit 11884b2375a97ad9d7b0cef7322ad73d2d6bbff8)

Devel mailing list
[hidden email]