mirror of
https://github.com/corda/corda.git
synced 2025-02-14 14:42:32 +00:00
revert overflow code in sitesToString since we now prune dead buddies from values
This commit is contained in:
parent
05bd86e2ed
commit
85ac9b9c71
@ -1763,13 +1763,6 @@ sitesToString(Context* c, Value* v, char* buffer, unsigned size)
|
|||||||
unsigned total = 0;
|
unsigned total = 0;
|
||||||
Value* p = v;
|
Value* p = v;
|
||||||
do {
|
do {
|
||||||
if (size <= total + 32) {
|
|
||||||
assert(c, size > total + 4);
|
|
||||||
memcpy(buffer + total, "...", 3);
|
|
||||||
total += 3;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (total) {
|
if (total) {
|
||||||
assert(c, size > total + 2);
|
assert(c, size > total + 2);
|
||||||
memcpy(buffer + total, "; ", 2);
|
memcpy(buffer + total, "; ", 2);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user