Browse Source

Slightly tweak error when unable to bind port

A slight improvement over 2d2d8fae3d -- we don't know that it's the daemon, it could be the GUI.
pull/145/head
Michagogo 10 years ago
parent
commit
d30d379beb
  1. 2
      src/net.cpp

2
src/net.cpp

@ -1653,7 +1653,7 @@ bool BindListenPort(const CService &addrBind, string& strError)
{
int nErr = WSAGetLastError();
if (nErr == WSAEADDRINUSE)
strError = strprintf(_("Unable to bind to %s on this computer. Bitcoin Core Daemon is probably already running."), addrBind.ToString());
strError = strprintf(_("Unable to bind to %s on this computer. Bitcoin Core is probably already running."), addrBind.ToString());
else
strError = strprintf(_("Unable to bind to %s on this computer (bind returned error %d, %s)"), addrBind.ToString(), nErr, strerror(nErr));
LogPrintf("%s\n", strError);

Loading…
Cancel
Save