diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-03-05 11:52:58 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-03-05 11:53:08 +0100 |
commit | 334bd22e75b1955b3dfefbf4f5e065afdbc46ae4 (patch) | |
tree | 6315d24ea0dda7a561e100570a57e2943d278493 /src/net.cpp | |
parent | c975e99ca9bd60966fed3e1952055b1056f2cc99 (diff) | |
parent | 2d2d8fae3d8bc4e82dc631d93c6e19f954bbee04 (diff) | |
download | bitcoin-334bd22e75b1955b3dfefbf4f5e065afdbc46ae4.tar.xz |
Merge pull request #3798
2d2d8fa Clarify the error message when unable to bind to port (paveljanik)
094eeff Bitcoin is running fine... (paveljanik)
Diffstat (limited to 'src/net.cpp')
-rw-r--r-- | src/net.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net.cpp b/src/net.cpp index bb1d1bac45..19f4a73bc4 100644 --- a/src/net.cpp +++ b/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 is probably already running."), addrBind.ToString()); + strError = strprintf(_("Unable to bind to %s on this computer. Bitcoin Core Daemon 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); @@ -1664,7 +1664,7 @@ bool BindListenPort(const CService &addrBind, string& strError) // Listen for incoming connections if (listen(hListenSocket, SOMAXCONN) == SOCKET_ERROR) { - strError = strprintf("Error: Listening for incoming connections failed (listen returned error %d)", WSAGetLastError()); + strError = strprintf(_("Error: Listening for incoming connections failed (listen returned error %d)"), WSAGetLastError()); LogPrintf("%s\n", strError); return false; } |