[OpenSIPS-Devel] [OpenSIPS/opensips] a589e1: [utils] Fixed compiler warning

Bogdan Andrei IANCU noreply at github.com
Wed May 29 09:46:12 EDT 2019


  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a589e10a0ef35a3fb97a5fe85a7e2723653c7a5f
      https://github.com/OpenSIPS/opensips/commit/a589e10a0ef35a3fb97a5fe85a7e2723653c7a5f
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-05-29 (Wed, 29 May 2019)

  Changed paths:
    M utils/db_berkeley/bdb_recover.c

  Log Message:
  -----------
  [utils] Fixed compiler warning

Even if harmless, make the code consistent and avoid warnings - if using null-termiated functions, be sure you have the space for the the ending NULL.
Reported by Dan Pascu ( @danpascu )

(cherry picked from commit decbd1bddee7a77194fcc989f12b587e1b7ee548)





More information about the Devel mailing list