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

Liviu Chircu noreply at github.com
Tue Jul 21 19:09:39 EST 2020


  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4b29d8dc30065c2d92f686e870f9bfc771dd4954
      https://github.com/OpenSIPS/opensips/commit/4b29d8dc30065c2d92f686e870f9bfc771dd4954
  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)





More information about the Devel mailing list