diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2012-07-27 08:36:43 +0200 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2012-08-01 19:33:32 +0200 |
commit | e6bc9c35f3518760800be47ec0b061fd508c8175 (patch) | |
tree | 46f7382db98bab72e670cd4778c9d126eddd148a /src/net.cpp | |
parent | 06e0e1c8539cb53ce21d282b3a6cc6e9becc3f7a (diff) |
Update Warning-strings to use a standard-format
- ensure warnings always start with "Warning:" and that the first
character after ":" is written uppercase
- ensure the first sentence in warnings ends with an "!"
- remove unneeded spaces from Warning-strings
- add missing Warning-string translation
- remove a "\n" and replace with untranslatable "<br><br>"
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 cc1aeeff08..1155503f05 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -589,7 +589,7 @@ bool CNode::Misbehaving(int howmuch) { if (addr.IsLocal()) { - printf("Warning: local node %s misbehaving (delta: %d)\n", addrName.c_str(), howmuch); + printf("Warning: Local node %s misbehaving (delta: %d)!\n", addrName.c_str(), howmuch); return false; } @@ -812,7 +812,7 @@ void ThreadSocketHandler2(void* parg) if (hSocket != INVALID_SOCKET) if (!addr.SetSockAddr((const struct sockaddr*)&sockaddr)) - printf("warning: unknown socket family\n"); + printf("Warning: Unknown socket family\n"); { LOCK(cs_vNodes); |