diff options
| author | Pieter Wuille <[email protected]> | 2013-09-20 01:52:57 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2013-09-20 01:52:57 -0700 |
| commit | f676fb91f345a9f5633e2d8e15a6eeadabd196a4 (patch) | |
| tree | 7cf154ad779f46b74efc16b4b5aa2585176d79ae /src/util.cpp | |
| parent | Tweaks to the top-level pull-tester script (diff) | |
| parent | fix some printf -> LogPrintf leftovers (diff) | |
| download | discoin-f676fb91f345a9f5633e2d8e15a6eeadabd196a4.tar.xz discoin-f676fb91f345a9f5633e2d8e15a6eeadabd196a4.zip | |
Merge pull request #3020 from Diapolo/LogPrint_fixes
fix some printf -> LogPrintf leftovers
Diffstat (limited to 'src/util.cpp')
| -rw-r--r-- | src/util.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/util.cpp b/src/util.cpp index 281ced2fa..73428b4c2 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -198,15 +198,7 @@ uint256 GetRandHash() return hash; } - - - - - - -// -// OutputDebugStringF (aka printf -- there is a #define that we really -// should get rid of one day) has been broken a couple of times now +// LogPrintf() has been broken a couple of times now // by well-meaning people adding mutexes in the most straightforward way. // It breaks because it may be called by global destructors during shutdown. // Since the order of destruction of static/global objects is undefined, @@ -1065,7 +1057,7 @@ const boost::filesystem::path &GetDataDir(bool fNetSpecific) fs::path &path = pathCached[nNet]; - // This can be called during exceptions by printf, so we cache the + // This can be called during exceptions by LogPrintf(), so we cache the // value so we don't have to do memory allocations after that. if (!path.empty()) return path; |