diff options
| author | Philip Kaufmann <[email protected]> | 2012-10-14 13:43:42 +0200 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2012-10-25 16:12:40 +0200 |
| commit | 847593228de8634bf6ef5933a474c7e63be59146 (patch) | |
| tree | d3b8c956c466f7e3efd53af5049dc8bf4369446b /src/irc.cpp | |
| parent | Merge pull request #1926 from laanwj/2012_10_maindummybounds (diff) | |
| download | discoin-847593228de8634bf6ef5933a474c7e63be59146.tar.xz discoin-847593228de8634bf6ef5933a474c7e63be59146.zip | |
fix some thread related log messages
- "ThreadIRCSeed started" was not displayed, even if the thread ran
(although only for a short time as the "do we want this thread?"-checks
happen IN ThreadIRCSeed2())
- the patch ensures we always get that message
- add a "ThreadIRCSeed trying to connect..." message
- add missing "ThreadDumpAddress started" message
Diffstat (limited to 'src/irc.cpp')
| -rw-r--r-- | src/irc.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/irc.cpp b/src/irc.cpp index 17d5ff1a5..e8471a663 100644 --- a/src/irc.cpp +++ b/src/irc.cpp @@ -192,6 +192,8 @@ void ThreadIRCSeed(void* parg) // Make this thread recognisable as the IRC seeding thread RenameThread("bitcoin-ircseed"); + printf("ThreadIRCSeed started\n"); + try { ThreadIRCSeed2(parg); @@ -218,7 +220,8 @@ void ThreadIRCSeed2(void* parg) if (!GetBoolArg("-irc", false)) return; - printf("ThreadIRCSeed started\n"); + printf("ThreadIRCSeed trying to connect...\n"); + int nErrorWait = 10; int nRetryWait = 10; int nNameRetry = 0; |