[OpenSIPS-Devel] [OpenSIPS/opensips] f4b81d: Fix several print formatting bugs

Liviu Chircu liviu at opensips.org
Fri Jan 8 14:48:14 CET 2016


  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f4b81d3ddffd1083b976c168b8fe8c4bd483ad63
      https://github.com/OpenSIPS/opensips/commit/f4b81d3ddffd1083b976c168b8fe8c4bd483ad63
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2016-01-08 (Fri, 08 Jan 2016)

  Changed paths:
    M flags.c
    M modules/drouting/drouting.c
    M modules/seas/encode_msg.c
    M modules/usrloc/dlist.c
    M modules/usrloc/ucontact.c

  Log Message:
  -----------
  Fix several print formatting bugs

%*.s is a format specifier for string width
%.*s is a format specifier for string length

99% of the time, we want the latter one and _not_ the former.

(cherry picked from commit e0c0a54ca599c0de9fa84ab6482a5698bf199e3b)

Conflicts:
	modules/event_flatstore/event_flatstore.c
	modules/proto_tls/tls_params.c
	modules/usrloc/dlist.c




More information about the Devel mailing list