[OpenSIPS-Devel] [OpenSIPS/opensips] 8f98bc: ut.h: Fix str_casematch() implementation

Liviu Chircu noreply at github.com
Tue Jul 21 19:10:42 EST 2020


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8f98bc0ab9412024a9829de2f9e8d6c1462e7748
      https://github.com/OpenSIPS/opensips/commit/8f98bc0ab9412024a9829de2f9e8d6c1462e7748
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-07-21 (Tue, 21 Jul 2020)

  Changed paths:
    M ut.h

  Log Message:
  -----------
  ut.h: Fix str_casematch() implementation

Since str's have a known length, we should not stop the iteration at
'\0'.

(cherry picked from commit 7d0df27a40d9bd0207637ec08e5deb662c45bbf6)
(cherry picked from commit 4b29d8dc30065c2d92f686e870f9bfc771dd4954)





More information about the Devel mailing list