[OpenSIPS-Devel] [OpenSIPS/opensips] ad8814: str.h: Parenthesize str initialization macros

Liviu Chircu noreply at github.com
Wed Oct 11 16:16:54 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ad8814bb7dbeada060585ac9b9162f6fdaec0f38
      https://github.com/OpenSIPS/opensips/commit/ad8814bb7dbeada060585ac9b9162f6fdaec0f38
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2023-10-11 (Wed, 11 Oct 2023)

  Changed paths:
    M str.h

  Log Message:
  -----------
  str.h: Parenthesize str initialization macros

This should help avoid compiler warnings similar to:

error: too many arguments provided to function-like macro invocation
    ok(str_match(&kvf_values[0], &str_init("X")), "test-fixup-flags-3.1");





More information about the Devel mailing list