"%*.s" used instead of "%.*s"

Pre-Submission Checklist

Type Of Change

Checklist:

Description

"%*.s" used instead of "%.*s": "The result is padded with space characters" (https://en.cppreference.com/w/cpp/io/c/fprintf)
Probably harmless (but still wrong) if the string ends with '\0'.


You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/3086

Commit Summary

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3086@github.com>