[OpenSIPS-Devel] [OpenSIPS/opensips] 9d951b: Compatibility fix for add_body() with new body.

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Oct 15 10:08:55 CEST 2014


  Branch: refs/heads/1.10
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9d951b010006ecd49b6765abbe59a2d9bd61e4ad
      https://github.com/OpenSIPS/opensips/commit/9d951b010006ecd49b6765abbe59a2d9bd61e4ad
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M msg_translator.c

  Log Message:
  -----------
  Compatibility fix for add_body() with new body.

When computing the new content-len, accept the case when there is no pre-existing body and a newly added body.
Reported by Antonis Psaras via LinkedIn

(cherry picked from commit 8054dbfb4d0c5c621d35db6bc886da41d3a05294)

Conflicts:
	msg_translator.c




More information about the Devel mailing list