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

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

  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5b02a7e3c12a5498ea05a6408f8397222f33f50d
  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)

More information about the Devel mailing list