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

Bogdan Andrei IANCU noreply at github.com
Wed May 29 09:45:11 EDT 2019


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f8e0cbbecf9d6156bb3f9b4b9509bcf80f0a3ec1
      https://github.com/OpenSIPS/opensips/commit/f8e0cbbecf9d6156bb3f9b4b9509bcf80f0a3ec1
  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