Fix string size specifier in debug prints

Review Request #2023 — Created Nov. 4, 2022 and submitted

Information

pidgin/pidgin
default

Reviewers

The %*s specifies the width of the string, but this was intended to specify
the maximum number of characters (in case the GBytes was unterminated), which is %.*s.

Compiled only, though I did write a small test program with printf to confirm that this worked the intended way.

Summary ID
Fix string size specifier in debug prints
The `%*s` specifies the *width* of the string, but this was intended to specify the maximum number of characters, which is `%.*s`.
dbda8333db4cf90080dd0a2488e23334321802f0
grim
grim
  1. Ship It!
  2. Nice work, thanks!!

  3. 
      
grim
Review request changed
Status:
Completed