[OpenSIPS-Devel] [OpenSIPS/opensips] 936bb9: Cleanup digest_parser code a bit:

Liviu Chircu noreply at github.com
Wed Sep 30 21:14:53 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 936bb99bf2827e0512cbab756b3ddd8a9b1723ea
      https://github.com/OpenSIPS/opensips/commit/936bb99bf2827e0512cbab756b3ddd8a9b1723ea
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M parser/digest/digest_parser.c

  Log Message:
  -----------
  Cleanup digest_parser code a bit:

 o replace another implementation of is_ws() with a is_ws call;

 o use str.len as the primary and the only way to see if string
   has zero lengh. Depending on how algorithm works, str.s might
   be non-NULL even if str.len == 0.


  Commit: f97470deb5b105f690ebd8408e6fea6ed18f11b7
      https://github.com/OpenSIPS/opensips/commit/f97470deb5b105f690ebd8408e6fea6ed18f11b7
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-10-01 (Thu, 01 Oct 2020)

  Changed paths:
    M parser/digest/digest_parser.c

  Log Message:
  -----------
  Merge pull request #2270 from sippy/pr_fix_digest_parser

Cleanup digest_parser code a bit.


Compare: https://github.com/OpenSIPS/opensips/compare/c036539f3336...f97470deb5b1



More information about the Devel mailing list