[OpenSIPS-Devel] [OpenSIPS/opensips] 5fc57e: cfgutils: Add support for large diffs in ts_usec_d...

Liviu Chircu noreply at github.com
Thu Apr 20 10:07:49 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5fc57e944de45b7af0e43b736a032acec156bd48
      https://github.com/OpenSIPS/opensips/commit/5fc57e944de45b7af0e43b736a032acec156bd48
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2023-04-20 (Thu, 20 Apr 2023)

  Changed paths:
    M modules/cfgutils/cfgutils.c
    M modules/cfgutils/doc/cfgutils_admin.xml

  Log Message:
  -----------
  cfgutils: Add support for large diffs in ts_usec_delta()

This patch reworks the 5th parameter as a string output variable, thus
avoiding issues related to integer overflows when the time diffs get
larger (e.g. differences of 35+ minutes, which are not uncommon).

Note: NOT backwards-compatible





More information about the Devel mailing list