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:
parent
ac27005cd7
commit
429e5e1dcf
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue