Browse Source

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

- also includes the required bitcoinstrings.cpp update
0.8
Philip Kaufmann 12 years ago
parent
commit
95e625d235
  1. 2
      src/bitcoinrpc.cpp
  2. 2
      src/qt/bitcoinstrings.cpp

2
src/bitcoinrpc.cpp

@ -796,7 +796,7 @@ void ThreadRPCServer2(void* parg) @@ -796,7 +796,7 @@ void ThreadRPCServer2(void* parg)
}
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 {

2
src/qt/bitcoinstrings.cpp

@ -19,7 +19,7 @@ QT_TRANSLATE_NOOP("bitcoin-core", "" @@ -19,7 +19,7 @@ QT_TRANSLATE_NOOP("bitcoin-core", ""
"Acceptable ciphers (default: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:"
"@STRENGTH)"),
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"),
QT_TRANSLATE_NOOP("bitcoin-core", ""
"An error occurred while setting up the RPC port %u for listening on IPv4: %s"),

Loading…
Cancel
Save