0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 00:32:35 +01:00

ircd::json: Fix treatment of already stringified number.

This commit is contained in:
Jason Volk 2018-01-24 07:30:36 -08:00
parent ac27005cd7
commit 429e5e1dcf

View file

@ -1100,7 +1100,7 @@ ircd::json::stringify(mutable_buffer &buf,
{
if(v.serial)
{
printer(buf, printer.number, string_view{v});
consume(buf, copy(buf, string_view{v}));
break;
}