[OpenSIPS-Devel] [OpenSIPS/opensips] 2555c5: Allow setting branch flags when no branches are ye...

Liviu Chircu liviu at opensips.org
Fri Mar 4 16:12:46 CET 2016


  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2555c5e2fefe50dc8d61b5d488113330a601060c
      https://github.com/OpenSIPS/opensips/commit/2555c5e2fefe50dc8d61b5d488113330a601060c
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2016-03-04 (Fri, 04 Mar 2016)

  Changed paths:
    M dset.c

  Log Message:
  -----------
  Allow setting branch flags when no branches are yet appended

Commit 5e3f06800e was too restrictive, since flags for "branch 0"
(a special branch, stored in current struct sip_msg) may be set regardless of
the number of append_branch() operations done previously!

Reported by Dragomir Haralambiev

(cherry picked from commit 6d1704c6c936921c504c8261ef5de1d710ed3d22)




More information about the Devel mailing list