HomeClusterLabs Projects

Refactor: snprintf: follow same order when sizing/filling the buffer

Description

Refactor: snprintf: follow same order when sizing/filling the buffer

This is to preserve sanity of the human comprehension machines.

Details

Provenance
Jan Pokorný <jpokorny@redhat.com>Authored on Feb 15 2017, 7:07 AM
kgaillotCommitted on Sep 22 2017, 6:20 PM
Parents
rP1bf85a3b9a28: Fix: snprintf: use sizeof(X) as size + prevent off-by-ones
Branches
Unknown
Tags
Unknown

Event Timeline