0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-09 10:43:19 -05:00

fix wrong (signed/unsigned) printf format specifier in bitcoinrpc.cpp

- also includes the required bitcoinstrings.cpp update
This commit is contained in:
Philip Kaufmann 2012-10-05 19:27:39 +02:00
parent a6be58d536
commit 95e625d235
2 changed files with 2 additions and 2 deletions

View file

@ -796,7 +796,7 @@ void ThreadRPCServer2(void* parg)
} }
catch(boost::system::system_error &e) catch(boost::system::system_error &e)
{ {
strerr = strprintf(_("An error occurred while setting up the RPC port %i for listening on IPv6, falling back to IPv4: %s"), endpoint.port(), e.what()); strerr = strprintf(_("An error occurred while setting up the RPC port %u for listening on IPv6, falling back to IPv4: %s"), endpoint.port(), e.what());
} }
try { try {

View file

@ -19,7 +19,7 @@ QT_TRANSLATE_NOOP("bitcoin-core", ""
"Acceptable ciphers (default: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:" "Acceptable ciphers (default: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:"
"@STRENGTH)"), "@STRENGTH)"),
QT_TRANSLATE_NOOP("bitcoin-core", "" QT_TRANSLATE_NOOP("bitcoin-core", ""
"An error occurred while setting up the RPC port %i for listening on IPv6, " "An error occurred while setting up the RPC port %u for listening on IPv6, "
"falling back to IPv4: %s"), "falling back to IPv4: %s"),
QT_TRANSLATE_NOOP("bitcoin-core", "" QT_TRANSLATE_NOOP("bitcoin-core", ""
"An error occurred while setting up the RPC port %u for listening on IPv4: %s"), "An error occurred while setting up the RPC port %u for listening on IPv4: %s"),