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

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


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 67867ba836086828da0e3ef88a21255b7b088bcd
      https://github.com/OpenSIPS/opensips/commit/67867ba836086828da0e3ef88a21255b7b088bcd
  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