mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
ircd: Use std snprintf() in u2a().
This commit is contained in:
parent
e7ede89884
commit
7de1c38d0e
1 changed files with 1 additions and 1 deletions
|
@ -461,7 +461,7 @@ ircd::u2a(const mutable_buffer &out,
|
|||
{
|
||||
char *p(data(out));
|
||||
for(size_t i(0); i < size(in); ++i, p += 2)
|
||||
snprintf(p, end(out) - p, "%02x", in[i]);
|
||||
::snprintf(p, end(out) - p, "%02x", in[i]);
|
||||
|
||||
return { data(out), p };
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue