diff options
| author | MarcoFalke <[email protected]> | 2019-06-13 09:43:24 -0400 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2019-06-18 15:50:40 -0400 |
| commit | 79745d1752d0d1a95f073a04d6f4b9715745cf17 (patch) | |
| tree | 21de08b84a5a1d87ea1322a2f9e9cbec1a75e138 /src/bitcoin-cli.cpp | |
| parent | scripted-diff: Replace fprintf with tfm::format (diff) | |
| download | discoin-79745d1752d0d1a95f073a04d6f4b9715745cf17.tar.xz discoin-79745d1752d0d1a95f073a04d6f4b9715745cf17.zip | |
Replace remaining fprintf with tfm::format manually
Github-Pull: #16205
Rebased-From: fa8f195195945ce6258199af0461e3fbfbc1236d
Diffstat (limited to 'src/bitcoin-cli.cpp')
| -rw-r--r-- | src/bitcoin-cli.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoin-cli.cpp b/src/bitcoin-cli.cpp index 774a255b6..76cc19cc8 100644 --- a/src/bitcoin-cli.cpp +++ b/src/bitcoin-cli.cpp @@ -499,7 +499,7 @@ static int CommandLineRPC(int argc, char *argv[]) } if (strPrint != "") { - fprintf((nRet == 0 ? stdout : stderr), "%s\n", strPrint.c_str()); + tfm::format(nRet == 0 ? std::cout : std::cerr, "%s\n", strPrint.c_str()); } return nRet; } |