[OpenSIPS-Devel] [OpenSIPS/opensips] 719838: [sms] Fixed compiler warning.

Bogdan Andrei IANCU noreply at github.com
Wed May 29 10:27:43 EDT 2019


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

  Changed paths:
    M modules/sms/libsms_getsms.c

  Log Message:
  -----------
  [sms] Fixed compiler warning.

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

(cherry picked from commit cbe2c6509ee4ffc518b5feed26dd4375e4bae9f0)





More information about the Devel mailing list