[OpenSIPS-Devel] [OpenSIPS/opensips] bdfee9: Fix calculating len of params in nameaddr trans.

Bogdan-Andrei Iancu bogdan at opensips.org
Wed May 14 14:47:07 CEST 2014


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: bdfee9d0ef7ea59173a654f3745a3c1819db1f24
      https://github.com/OpenSIPS/opensips/commit/bdfee9d0ef7ea59173a654f3745a3c1819db1f24
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2014-05-14 (Wed, 14 May 2014)

  Changed paths:
    M transformations.c

  Log Message:
  -----------
  Fix calculating len of params in nameaddr trans.

If the value of the last parameter is a quoted string, we need to include in the len calculation the closing quote too (quotes are not included in the actual value).

Closing #228.

(cherry picked from commit cf1ae2a9158699844ef15797a5b234b010a4d1c8)




More information about the Devel mailing list