[OpenSIPS-Devel] [OpenSIPS/opensips] 8142b3: qrouting/drouting: Improve code quality [part 2]

Liviu Chircu noreply at github.com
Wed Feb 5 11:35:48 EST 2020


  Branch: refs/heads/feature/qrouting
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8142b352b31ab395c5fc34d85ea949ba64bc2e9c
      https://github.com/OpenSIPS/opensips/commit/8142b352b31ab395c5fc34d85ea949ba64bc2e9c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-02-05 (Wed, 05 Feb 2020)

  Changed paths:
    M modules/drouting/drouting.c
    M modules/qrouting/qr_acc.c
    M modules/qrouting/qrouting.c

  Log Message:
  -----------
  qrouting/drouting: Improve code quality [part 2]

    * fix "n_partitions" logic
    * add more OOM checks
    * simplify if conditions and redundant code (e.g. "return;")
    * improve callback ordering at registration (in execution order)
    * normalize coding style





More information about the Devel mailing list