[OpenSIPS-Devel] [OpenSIPS/opensips] 3ccea1: Fix compilation errors on older distros

Liviu Chircu noreply at github.com
Fri May 8 05:43:24 EST 2020

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3ccea1a32db9cb1caa186bb3fd6b8ddd30a9e5a6
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2020-05-08 (Fri, 08 May 2020)

  Changed paths:
    M lib/reg/pn.c
    M modules/mid_registrar/save.c

  Log Message:
  Fix compilation errors on older distros

    * do not declare variables inside for loops unless we're using C99+
    * fix uninitialized variable

Credits to Nick Altmann for the report!

More information about the Devel mailing list