[OpenSIPS-Devel] [OpenSIPS/opensips] 276763: Fix evaluating variables upon errors.

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Aug 31 11:26:45 EDT 2018


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2767632dc242bc786ad1f8366f42c739b29af4c0
      https://github.com/OpenSIPS/opensips/commit/2767632dc242bc786ad1f8366f42c739b29af4c0
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2018-08-31 (Fri, 31 Aug 2018)

  Changed paths:
    M pvar.c

  Log Message:
  -----------
  Fix evaluating variables upon errors.

Instead of returning an error code to the upper function, it is better (for consistency reasons) to return success and a NULL evaluated value.
Related to #1452



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Devel mailing list