Replace snprintf() + xstrcat() with xstrfmtcat().
The first case here is even more fun... let's just let xstrfmtcat() sort this all out instead of manually determing the required buffer size.
Please register or sign in to comment
The first case here is even more fun... let's just let xstrfmtcat() sort this all out instead of manually determing the required buffer size.