mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
update to newest git bitcoin core
This commit is contained in:
parent
b7726d924e
commit
822f2e3ddf
10 changed files with 93 additions and 44 deletions
|
|
@ -271,7 +271,7 @@ string strprintf(const char* format, ...)
|
|||
if (ret >= 0 && ret < limit)
|
||||
break;
|
||||
if (p != buffer)
|
||||
delete p;
|
||||
delete[] p;
|
||||
limit *= 2;
|
||||
p = new char[limit];
|
||||
if (p == NULL)
|
||||
|
|
@ -279,7 +279,7 @@ string strprintf(const char* format, ...)
|
|||
}
|
||||
string str(p, p+ret);
|
||||
if (p != buffer)
|
||||
delete p;
|
||||
delete[] p;
|
||||
return str;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue