diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-06-13 09:43:24 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-06-13 11:46:38 -0400 |
commit | fa8f195195945ce6258199af0461e3fbfbc1236d (patch) | |
tree | 04586bb1d5ee6b4aa00fc13a89baf7d5a22132c3 /src/bitcoin-cli.cpp | |
parent | fac03ec43a15ad547161e37e53ea82482cc508f9 (diff) |
Replace remaining fprintf with tfm::format manually
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 5abaa16958..38010c461e 100644 --- a/src/bitcoin-cli.cpp +++ b/src/bitcoin-cli.cpp @@ -495,7 +495,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; } |